Click or drag to resize
ContextAdd Method (IEntityCore)
Adds the specified entity to the Context. If the passed in entity is already in a context, the Add is a no-op. Also if the entity isn't new and there is already an entity with the same PK values, the Add is a no-op.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public void Add(
	IEntityCore toAdd
)

Parameters

toAdd
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
entity to add to this context.
See Also