DbMemberEntry.Cast<TEntity,TProperty> Method
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.
Returns the equivalent generic DbMemberEntry<TEntity,TProperty> object.
public System.Data.Entity.Infrastructure.DbMemberEntry<TEntity,TProperty> Cast<TEntity,TProperty> () where TEntity : class;
member this.Cast : unit -> System.Data.Entity.Infrastructure.DbMemberEntry<'Entity, 'Property (requires 'Entity : null)> (requires 'Entity : null)
Public Function Cast(Of TEntity As Class, TProperty As Class) () As DbMemberEntry(Of TEntity, TProperty)
Type Parameters
- TEntity
The type of entity on which the member is declared.
- TProperty
The type of the property.
Returns
The equivalent generic object.
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