FromSqlExpression Constructors
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.
Overloads
FromSqlExpression(ITableBase, String, Expression) |
Creates a new instance of the FromSqlExpression class. |
FromSqlExpression(String, Expression, String) |
Obsolete.
Creates a new instance of the FromSqlExpression class. |
FromSqlExpression(String, String, Expression) |
Creates a new instance of the FromSqlExpression class. |
FromSqlExpression(String, ITableBase, String, Expression) |
Creates a new instance of the FromSqlExpression class. |
FromSqlExpression(String, ITableBase, String, Expression, IReadOnlyDictionary<String,IAnnotation>) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
FromSqlExpression(ITableBase, String, Expression)
- Source:
- FromSqlExpression.cs
- Source:
- FromSqlExpression.cs
Creates a new instance of the FromSqlExpression class.
public FromSqlExpression (Microsoft.EntityFrameworkCore.Metadata.ITableBase defaultTableBase, string sql, System.Linq.Expressions.Expression arguments);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression : Microsoft.EntityFrameworkCore.Metadata.ITableBase * string * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression
Public Sub New (defaultTableBase As ITableBase, sql As String, arguments As Expression)
Parameters
- defaultTableBase
- ITableBase
A default table base associated with this table source.
- sql
- String
A user-provided custom SQL for the table source.
- arguments
- Expression
A user-provided parameters to pass to the custom SQL.
Applies to
FromSqlExpression(String, Expression, String)
- Source:
- FromSqlExpression.cs
- Source:
- FromSqlExpression.cs
- Source:
- FromSqlExpression.cs
- Source:
- FromSqlExpression.cs
Caution
Use the constructor which takes alias as first argument.
Creates a new instance of the FromSqlExpression class.
public FromSqlExpression (string sql, System.Linq.Expressions.Expression arguments, string alias);
[System.Obsolete("Use the constructor which takes alias as first argument.")]
public FromSqlExpression (string sql, System.Linq.Expressions.Expression arguments, string alias);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression : string * System.Linq.Expressions.Expression * string -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression
[<System.Obsolete("Use the constructor which takes alias as first argument.")>]
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression : string * System.Linq.Expressions.Expression * string -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression
Public Sub New (sql As String, arguments As Expression, alias As String)
Parameters
- sql
- String
A user-provided custom SQL for the table source.
- arguments
- Expression
A user-provided parameters to pass to the custom SQL.
- alias
- String
A string alias for the table source.
- Attributes
Applies to
FromSqlExpression(String, String, Expression)
- Source:
- FromSqlExpression.cs
- Source:
- FromSqlExpression.cs
- Source:
- FromSqlExpression.cs
- Source:
- FromSqlExpression.cs
- Source:
- FromSqlExpression.cs
Creates a new instance of the FromSqlExpression class.
public FromSqlExpression (string alias, string sql, System.Linq.Expressions.Expression arguments);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression : string * string * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression
Public Sub New (alias As String, sql As String, arguments As Expression)
Parameters
- alias
- String
An alias to use for this table source.
- sql
- String
A user-provided custom SQL for the table source.
- arguments
- Expression
A user-provided parameters to pass to the custom SQL.
Applies to
FromSqlExpression(String, ITableBase, String, Expression)
- Source:
- FromSqlExpression.cs
Creates a new instance of the FromSqlExpression class.
public FromSqlExpression (string alias, Microsoft.EntityFrameworkCore.Metadata.ITableBase defaultTableBase, string sql, System.Linq.Expressions.Expression arguments);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression : string * Microsoft.EntityFrameworkCore.Metadata.ITableBase * string * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression
Public Sub New (alias As String, defaultTableBase As ITableBase, sql As String, arguments As Expression)
Parameters
- alias
- String
An alias to use for this table source.
- defaultTableBase
- ITableBase
A default table base associated with this table source.
- sql
- String
A user-provided custom SQL for the table source.
- arguments
- Expression
A user-provided parameters to pass to the custom SQL.
Applies to
FromSqlExpression(String, ITableBase, String, Expression, IReadOnlyDictionary<String,IAnnotation>)
- Source:
- FromSqlExpression.cs
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public FromSqlExpression (string alias, Microsoft.EntityFrameworkCore.Metadata.ITableBase? tableBase, string sql, System.Linq.Expressions.Expression arguments, System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>? annotations);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression : string * Microsoft.EntityFrameworkCore.Metadata.ITableBase * string * System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.FromSqlExpression
Public Sub New (alias As String, tableBase As ITableBase, sql As String, arguments As Expression, annotations As IReadOnlyDictionary(Of String, IAnnotation))
Parameters
- alias
- String
- tableBase
- ITableBase
- sql
- String
- arguments
- Expression
- annotations
- IReadOnlyDictionary<String,IAnnotation>
- Attributes
Applies to
Entity Framework