Esempio n. 1
0
 /// <summary>
 ///     Constructs an enumeration of all the parameters denoting properties that are bound to columns available for insert.
 ///     (e.g. @HouseNo, @AptNo)
 /// </summary>
 protected virtual string ConstructParamEnumerationForInsertInternal()
 {
     return(string.Join(",", InsertProperties.Select(propInfo => $"{ParameterPrefix + propInfo.PropertyName}")));
 }
Esempio n. 2
0
 /// <summary>
 ///     Constructs an enumeration of all the columns available for insert.
 ///     (e.g. HouseNo, AptNo)
 /// </summary>
 protected virtual string ConstructColumnEnumerationForInsertInternal()
 {
     return(string.Join(",", InsertProperties.Select(propInfo => GetColumnName(propInfo, null, false))));
 }