Exemple #1
0
 /// <summary>
 /// 判断是否匹配数据列
 /// </summary>
 /// <param name="value">数据列</param>
 /// <returns>是否匹配</returns>
 internal bool IsMatch(column value)
 {
     return(value != null && Name == value.Name && DbType == value.DbType && Size == value.Size && IsNull == value.IsNull);
 }
Exemple #2
0
 /// <summary>
 /// 判断是否匹配数据列
 /// </summary>
 /// <param name="value">数据列</param>
 /// <returns>是否匹配</returns>
 internal bool IsMatch(column value)
 {
     return value != null && Name == value.Name && DbType == value.DbType && Size == value.Size && IsNull == value.IsNull;
 }
Exemple #3
0
 /// <summary>
 /// 判断是否匹配数据列
 /// </summary>
 /// <param name="value">数据列</param>
 /// <param name="isIgnoreCase">是否忽略大小写</param>
 /// <returns>是否匹配</returns>
 internal bool IsMatch(column value, bool isIgnoreCase)
 {
     return(value != null && (isIgnoreCase ? Name.ToLower() == value.Name.ToLower() : Name == value.Name) && DbType == value.DbType && Size == value.Size && IsNull == value.IsNull);
 }