9using System.Data.SqlClient;
35 using (var command =
new SqlCommand(
"Select * From Table2", manager.Connection))
54 foreach (var oneItem
in this)
This is the base class from which most business collections or lists will be derived.
MobileList< C > DeletedList
A collection containing all child objects marked for deletion.
Provides an automated way to reuse open database connections within the context of a single data port...
ConnectionManager GetManager(string database)
Gets the ConnectionManager object for the specified database.
This is an IDataReader that 'fixes' any null values before they are returned to our business code.
Provides an automated way to reuse open database connections and associated ADO.NET transactions with...
TransactionManager< C, T > GetManager(string database)
Gets the TransactionManager object for the specified database.
Client side data portal used for making asynchronous data portal calls in .NET.
void UpdateChild(T child)
Inserts, updates or deletes an existing child business object.
T Fetch(params object[] criteria)
Called by a factory method in a business class to Fetch a new object, which is loaded with default va...
static TransactionContextUser NewTransactionContextUser()
static TransactionContextUser GetTransactionContextUser(Csla.Data.SafeDataReader reader)
override object AddNewCore()
static TransactionContextUserList GetList()
const string TestDBConnection
static string DataPortalTestDatabase
@ Serializable
Prevents updating or inserting until the transaction is complete.
@ Update
Update operation (includes insert, update and delete self).