Ejemplo n.º 1
0
        public bool InsertAttributes(DataTable Table, int ID)
        {
            DataColumn DC = new DataColumn();

            DC.ColumnName = "SchemaID";
            DC.DataType   = System.Type.GetType("System.Int64");
            Table.Columns.Add(DC);

            for (int i = 0; i < Table.Rows.Count; i++)
            {
                Table.Rows[i]["SchemaID"] = ID;
            }

            if (SDAL.InsertAttributes(Table))
            {
                return(true);
            }
            return(false);
        }