EntityManagerCreateEntity Method (Type, Object, EntityState) Breeze.sharp
Creates a new entity and sets its EntityState. Unless this state is Detached, the entity is also added to the EntityManager.

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public IEntity CreateEntity(
	Type clrType,
	Object initialValues = null,
	EntityState entityState = EntityState.Added
)

Parameters

clrType
Type: SystemType
initialValues (Optional)
Type: SystemObject
entityState (Optional)
Type: Breeze.SharpEntityState

Return Value

Type: IEntity
See Also

Reference