コード例 #1
0
ファイル: DbRawSqlQuery.cs プロジェクト: dotnet/ef6tools
 /// <summary>
 /// Returns a <see cref="System.String" /> that contains the SQL string that was set
 /// when the query was created.  The parameters are not included.
 /// </summary>
 /// <returns>
 /// A <see cref="System.String" /> that represents this instance.
 /// </returns>
 public override string ToString()
 {
     return(_internalQuery == null?base.ToString() : _internalQuery.ToString());
 }
コード例 #2
0
 /// <summary>
 ///     Returns a <see cref="System.String" /> that contains the SQL string that was set
 ///     when the query was created.  The parameters are not included.
 /// </summary>
 /// <returns>
 ///     A <see cref="System.String" /> that represents this instance.
 /// </returns>
 public override string ToString()
 {
     return(_internalQuery.ToString());
 }