Share via


EntityContainer(String, DataSpace) Constructor

Definition

Creates an entity container with the specified name and data space.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public EntityContainer (string name, System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace);
new System.Data.Entity.Core.Metadata.Edm.EntityContainer : string * System.Data.Entity.Core.Metadata.Edm.DataSpace -> System.Data.Entity.Core.Metadata.Edm.EntityContainer

Parameters

name
String

The entity container name.

dataSpace
DataSpace

The entity container data space.

Attributes

Exceptions

Thrown if the name argument is null.

Thrown if the name argument is empty string.

Applies to