コード例 #1
0
ファイル: Row.cs プロジェクト: dotnet/ef6tools
 /// <summary>
 /// Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbNewInstanceExpression" /> that constructs a new row based on the columns contained in this Row instance.
 /// </summary>
 /// <returns>A new DbNewInstanceExpression that constructs a row with the same column names and DbExpression values as this Row instance.</returns>
 public DbNewInstanceExpression ToExpression()
 {
     return(DbExpressionBuilder.NewRow(arguments));
 }
コード例 #2
0
 /// <summary>
 /// Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbNewInstanceExpression" /> that constructs a new row based on the columns contained in this Row instance.
 /// </summary>
 /// <returns>A new DbNewInstanceExpression that constructs a row with the same column names and DbExpression values as this Row instance.</returns>
 public DbNewInstanceExpression ToExpression()
 {
     return(DbExpressionBuilder.NewRow((IEnumerable <KeyValuePair <string, DbExpression> >) this.arguments));
 }