SingletonConfiguration Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SingletonConfiguration() |
Initializes a new instance of the SingletonConfiguration class. The default constructor is intended for use by unit testing only. |
SingletonConfiguration(ODataModelBuilder, EntityTypeConfiguration, String) |
Initializes a new instance of the SingletonConfiguration class. |
SingletonConfiguration(ODataModelBuilder, Type, String) |
Initializes a new instance of the SingletonConfiguration class. |
SingletonConfiguration()
Initializes a new instance of the SingletonConfiguration class. The default constructor is intended for use by unit testing only.
public SingletonConfiguration ();
Public Sub New ()
Applies to
SingletonConfiguration(ODataModelBuilder, EntityTypeConfiguration, String)
Initializes a new instance of the SingletonConfiguration class.
public SingletonConfiguration (Microsoft.AspNet.OData.Builder.ODataModelBuilder modelBuilder, Microsoft.AspNet.OData.Builder.EntityTypeConfiguration entityType, string name);
new Microsoft.AspNet.OData.Builder.SingletonConfiguration : Microsoft.AspNet.OData.Builder.ODataModelBuilder * Microsoft.AspNet.OData.Builder.EntityTypeConfiguration * string -> Microsoft.AspNet.OData.Builder.SingletonConfiguration
Public Sub New (modelBuilder As ODataModelBuilder, entityType As EntityTypeConfiguration, name As String)
Parameters
- modelBuilder
- ODataModelBuilder
The ODataModelBuilder.
- entityType
- EntityTypeConfiguration
The entity type EntityTypeConfiguration contained in this singleton.
- name
- String
The name of the singleton.
Applies to
SingletonConfiguration(ODataModelBuilder, Type, String)
Initializes a new instance of the SingletonConfiguration class.
public SingletonConfiguration (Microsoft.AspNet.OData.Builder.ODataModelBuilder modelBuilder, Type entityClrType, string name);
new Microsoft.AspNet.OData.Builder.SingletonConfiguration : Microsoft.AspNet.OData.Builder.ODataModelBuilder * Type * string -> Microsoft.AspNet.OData.Builder.SingletonConfiguration
Public Sub New (modelBuilder As ODataModelBuilder, entityClrType As Type, name As String)
Parameters
- modelBuilder
- ODataModelBuilder
The ODataModelBuilder.
- name
- String
The name of the singleton.