Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Configures the property to have the given databaseGeneratedOption.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public PrimitivePropertyConfiguration HasStoreGeneratedPattern(
DatabaseGeneratedOption databaseGeneratedOption
)
public:
PrimitivePropertyConfiguration^ HasStoreGeneratedPattern(
DatabaseGeneratedOption databaseGeneratedOption
)
member HasStoreGeneratedPattern :
databaseGeneratedOption:DatabaseGeneratedOption -> PrimitivePropertyConfiguration
Public Function HasStoreGeneratedPattern (
databaseGeneratedOption As DatabaseGeneratedOption
) As PrimitivePropertyConfiguration
Parameters
databaseGeneratedOption
Type: System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOptionTarget DatabaseGeneratedOption.
Return Value
Type: System.Web.Http.OData.Builder.PrimitivePropertyConfiguration
Returns itself so that multiple calls can be chained.
See Also
PrimitivePropertyConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top