Ejemplo n.º 1
0
        public bool StoreSchema(DataTable Table)
        {
            string Schema    = Table.Rows[0]["DataBase"].ToString();
            int    Schema_ID = -1;

            if (SDAL.AddSchema(Schema, ref Schema_ID))
            {
                Table.Columns.RemoveAt(0);
                if (InsertAttributes(Table, Schema_ID))
                {
                    Table.Columns.RemoveAt(5);
                    return(true);
                }
                Table.Columns.RemoveAt(5);
                return(false);
            }
            return(false);
        }