Attaches an untracked to the internal context and marks it as modified optionally Note: child elements need to be manually added.
public TEntity Attach(TEntity entity,
bool addNew);
Parameters
entityaddNew
Overloads:
See also:
Class EfCodeFirstBusinessBase