Exemple #1
0
 /// <summary>
 /// Creates a new instance of the DbField class.
 /// </summary>
 /// <param name="name">The name to consider.</param>
 /// <param name="parameterIndex">The parameter index to consider.</param>
 public static DbField FieldAsParameter(
     string name,
     byte parameterIndex)
 {
     return(DbFluent.FieldAsParameter(name, null, parameterIndex));
 }
Exemple #2
0
 /// <summary>
 /// Creates a new instance of the DbField class.
 /// </summary>
 /// <param name="name">The name to consider.</param>
 /// <param name="parameter">The parameter to consider.</param>
 public static DbField FieldAsParameter(
     string name,
     ScalarElement parameter)
 {
     return(DbFluent.FieldAsParameter(name, null, parameter));
 }
Exemple #3
0
 /// <summary>
 /// Creates a new instance of the DbField class.
 /// </summary>
 /// <param name="name">The name to consider.</param>
 /// <param name="parameterName">The parameter element to consider.</param>
 public static DbField FieldAsParameter(
     string name,
     string parameterName)
 {
     return(DbFluent.FieldAsParameter(name, null, parameterName));
 }