EntityContainer(String, DataSpace) Constructor
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework