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