Exemplo n.º 1
0
        public static Entity CreateWith(uint id, EntityClass clazz, FlatTable table) {
            var entity = new Entity(id, clazz);

            foreach (var info in table.Properties) {
                entity.Properties.Add(Property.For(info));
            }

            return entity;
        }
Exemplo n.º 2
0
        public static Entity CreateWith(uint id, EntityClass clazz, FlatTable table)
        {
            var entity = new Entity(id, clazz);

            foreach (var info in table.Properties)
            {
                entity.Properties.Add(Property.For(info));
            }

            return(entity);
        }