public IDataSourceFieldSchema[] GetFields()
 {
     var list = new List<DbEntryDataSourceFieldSchema>();
     foreach (MemberHandler mh in _oi.SimpleMembers)
     {
         var s = new DbEntryDataSourceFieldSchema(
             mh.MemberInfo.Name,
             mh.MemberType,
             mh.Is.DbGenerate,
             mh.Is.Key,
             mh.Is.AllowNull
             );
         list.Add(s);
     }
     return list.ToArray();
 }
        public IDataSourceFieldSchema[] GetFields()
        {
            var list = new List <DbEntryDataSourceFieldSchema>();

            foreach (MemberHandler mh in _oi.SimpleMembers)
            {
                var s = new DbEntryDataSourceFieldSchema(
                    mh.MemberInfo.Name,
                    mh.MemberType,
                    mh.Is.DbGenerate,
                    mh.Is.Key,
                    mh.Is.AllowNull
                    );
                list.Add(s);
            }
            return(list.ToArray());
        }