Beispiel #1
0
 /// <summary>
 /// 判断成员名称是否主键成员
 /// </summary>
 public bool IsPrimaryKey(ushort mid)
 {
     if (PartitionKeys != null && PartitionKeys.Contains(mid))
     {
         return(true);
     }
     if (ClusteringColumns != null && ClusteringColumns.Any(t => t.MemberId == mid))
     {
         return(true);
     }
     return(false);
 }