public DbField(string name, ID id) { var idNamePair = new FieldNamingHelper().GetFieldIdNamePair(id, name); this.ID = idNamePair.Key; this.Name = idNamePair.Value; if (this.Name.StartsWith("__")) { this.Shared = true; } }
public DbField(string name, ID id) { var idNamePair = new FieldNamingHelper().GetFieldIdNamePair(id, name); this.ID = idNamePair.Key; this.Name = idNamePair.Value; if (!this.IsStandard()) { return; } // TODO: Determine which of the standard fields should be shared. if (this.ID != FieldIDs.DisplayName) { this.Shared = true; } }