SuppressDbSetInitializationAttribute Class
Entity Framework 5.0
This attribute can be applied to either an entire derived DbContext class or to individual DbSet(Of TEntity) or IDbSet(Of TEntity) properties on that class. When applied any discovered DbSet(Of TEntity) or IDbSet(Of TEntity) properties will still be included in the model but will not be automatically initialized.
System.Object
System.Attribute
System.Data.Entity.Infrastructure.SuppressDbSetInitializationAttribute
System.Attribute
System.Data.Entity.Infrastructure.SuppressDbSetInitializationAttribute
Namespace: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
The SuppressDbSetInitializationAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | SuppressDbSetInitializationAttribute | Initializes a new instance of the SuppressDbSetInitializationAttribute class. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Attribute.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Attribute.) |
![]() | GetType | (Inherited from Object.) |
![]() | IsDefaultAttribute | (Inherited from Attribute.) |
![]() | Match | (Inherited from Attribute.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke | (Inherited from Attribute.) |
Show:
