Share via


SingletonConfiguration Constructors

Definition

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

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

entityClrType
Type

The Type of the entity type contained in this singleton.

name
String

The name of the singleton.

Applies to