Ejemplo n.º 1
0
        public List <string> GetBMColumns()
        {
            List <string> cols = new List <string>();
            //For each field in the database (or property in Linq object)
            BlockModelBlock ob = new BlockModelBlock();

            foreach (PropertyInfo pi in ob.GetType().GetProperties())
            {
                Type   ty   = pi.GetType();
                String name = pi.Name;

                cols.Add(name);
            }

            return(cols);
        }
Ejemplo n.º 2
0
        public List<string> GetBMColumns()
        {
            List<string> cols = new List<string>();
            //For each field in the database (or property in Linq object)
            BlockModelBlock ob = new BlockModelBlock();
            foreach (PropertyInfo pi in ob.GetType().GetProperties())
            {

                Type ty = pi.GetType();
                String name = pi.Name;

                cols.Add(name);
            }

            return cols;

        }