コード例 #1
0
 public MetaColumn(string name, string displayName, Type type, ColumnRef reference, Operation.Grouping.IGroupAlgorithm groupAlgo, Operation.Grouping.IMergeAlgorithm mergeAlgo, string formatName = "", int displayDefaultWidth = k_DefaultDisplayWidth)
 {
     Index                 = 0;
     Name                  = name;
     DisplayName           = displayName;
     Type                  = type;
     FormatName            = formatName;
     IsReference           = true;
     Reference             = reference;
     DefaultMergeAlgorithm = mergeAlgo;
     DefaultGroupAlgorithm = groupAlgo;
     DefaultDisplayWidth   = displayDefaultWidth;
 }
コード例 #2
0
 public MetaColumn(MetaColumn mc)
 {
     Index                 = 0;
     Name                  = mc.Name;
     IsPrimaryKey          = mc.IsPrimaryKey;
     DisplayName           = mc.DisplayName;
     Type                  = mc.Type;
     FormatName            = mc.FormatName;
     IsReference           = mc.IsReference;
     Reference             = mc.Reference;
     DefaultMergeAlgorithm = mc.DefaultMergeAlgorithm;
     DefaultGroupAlgorithm = mc.DefaultGroupAlgorithm;
     DefaultDisplayWidth   = mc.DefaultDisplayWidth;
 }