EntityManagerCreateEntityT Method (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 T CreateEntity<T>(
	EntityState entityState
)

Parameters

entityState
Type: Breeze.SharpEntityState

Type Parameters

T

Return Value

Type: T
See Also

Reference