TryCreateInstance Method

Try create instance of theStoreContact out of the CommerceEntity.

Returns null if required fields are missing without failing.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly:  Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)

public static StoreContact TryCreateInstance(
	CommerceEntity entity
)

Community Additions

Show: