DbExpressionBuilder.Deref(DbExpression) 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.
Creates a new DbDerefExpression that retrieves a specific Entity given a reference expression.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Deref")]
public static System.Data.Entity.Core.Common.CommandTrees.DbDerefExpression Deref (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member Deref : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbDerefExpression
<Extension()>
Public Function Deref (argument As DbExpression) As DbDerefExpression
Parameters
- argument
- DbExpression
An DbExpression that provides the reference. This expression must have a reference Type.
Returns
A new DbDerefExpression that retrieves the specified Entity.
- Attributes
Exceptions
argument is null.
argument does not have a reference result type.
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