ODataEntityTypeSerializer.CreateETag Method (EntityInstanceContext)
Creates the ETag for the given entity.
Namespace: System.Web.OData.Formatter.Serialization
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual string CreateETag(
EntityInstanceContext entityInstanceContext
)
public:
virtual String^ CreateETag(
EntityInstanceContext^ entityInstanceContext
)
abstract CreateETag :
entityInstanceContext:EntityInstanceContext -> string
override CreateETag :
entityInstanceContext:EntityInstanceContext -> string
Public Overridable Function CreateETag (
entityInstanceContext As EntityInstanceContext
) As String
Parameters
entityInstanceContext
Type: System.Web.OData.EntityInstanceContextThe context for the entity instance being written.
Return Value
Type: System.String
The created ETag.
See Also
ODataEntityTypeSerializer Class
System.Web.OData.Formatter.Serialization Namespace
Return to top