  | EntityResourceHandlerCreate Method  | 
 
            Creates an entity.
            
 
    Namespace: 
   SanteDB.Rest.HDSI.Resources
    Assembly:
   SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 2.2.1
Syntaxpublic override Object Create(
	Object data,
	bool updateIfExists
)
Public Overrides Function Create ( 
	data As Object,
	updateIfExists As Boolean
) As Object
public:
virtual Object^ Create(
	Object^ data, 
	bool updateIfExists
) override
abstract Create : 
        data : Object * 
        updateIfExists : bool -> Object 
override Create : 
        data : Object * 
        updateIfExists : bool -> Object Parameters
- data
 - Type: SystemObject
The entity to be created. - updateIfExists
 - Type: SystemBoolean
Whether to update the entity if it exits. 
Return Value
Type: 
ObjectReturns the created entity.s
Implements
IApiResourceHandlerCreate(Object, Boolean)
See Also