Tiraggo.Interfaces.tgColumnMetadataCollection.Add C# (CSharp) Méthode

Add() public méthode

Used internally by Tiraggo. This should never be called by user code
public Add ( tgColumnMetadata column ) : void
column tgColumnMetadata The new tgColumnMetadata to add to the array
Résultat void
        public void Add(tgColumnMetadata column)
        {
            list.Add(column);
            hashByColumnName[column.Name] = column;
            hashByPropertyName[column.PropertyName] = column;

            if (column.HasDefault)
            {
                this.thereAreDefaults = true;
            }

            if (column.IsInPrimaryKey)
            {
                this.primaryKeys.Add(column);
            }
        }