public int AddTables(string tablename, string details, int schema_id, int isempty, bool isView) { IGumruk _iGumruk = new BSGumruk(); d_b_tables tbl = new d_b_tables(); tbl.id = 0; tbl.mid = 0; tbl.name = tablename; tbl.d_b_schemasId = schema_id; tbl.details = details; tbl.updated_at = DateTime.Now; tbl.created_at = DateTime.Now; tbl.isempty = Convert.ToBoolean(isempty); tbl.isView = isView; return(_iGumruk.NewTable(tbl)); }