示例#1
0
        public Db4oStoredClass(Db4objects.Db4o.Ext.IStoredClass clazz, Db4oLocalConnection connection)
        {
            this.connection = connection;
            Name = clazz.GetName();
            genericClass = connection.GetGenericClass(clazz.GetName());
            List<Field> list = new List<Field>();

            IStoredField[] storedFields = clazz.GetStoredFields();
            foreach (IStoredField field in storedFields)
            {
                list.Add(new Db4oField(field));
            }
            Fields = list;
        }