Пример #1
0
        public override void Assign(ColumnSchema column)
        {
            PostgresColumnSchema col = (PostgresColumnSchema)column;
            this.IsIdent = col.IsIdent;
            base.Assign(column);

            //this.Text = "";
        }
Пример #2
0
 public ColumnSetNode(ColumnSchema[] columns = null)
 {
     this.columns = columns;
 }
Пример #3
0
        private bool AllowDBNull(ColumnSchema col)
        {
            if ( !col.AllowDBNull )
                return false;

            var type = col.SystemType;
            if (type.IsValueType && !type.Name.EndsWith("String"))
            {
                return true;
            }

            return false;
        }
Пример #4
0
 public virtual void Assign(ColumnSchema column)
 {
     this.Name = column.Name;
     this.SystemType = column.SystemType;
     this.NullAble = column.AllowDBNull;
     this.Description = column.Description;
     this.ColumnName = column.Name;
 }