Use this constructor to share a DbContext from another business object.
Useful for 'child business' objects that need to operate from within internal business object operations.
public EfCodeFirstBusinessBase<TEntity,TContext>(IBusinessObjectparentBusinessObject)
Parameters
parentBusinessObject
An existing business object to share are context with
Overloads:
public EfCodeFirstBusinessBase<TEntity,TContext>()
public EfCodeFirstBusinessBase<TEntity,TContext>(string connectionString)
public EfCodeFirstBusinessBase<TEntity,TContext>(TContext context)
See also:
Class EfCodeFirstBusinessBase© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic