Esempio n. 1
0
        public void Apply(ILayoutBuilder <TLayout, TSchema> builder)
        {
            ILayout <T, TSchema> layout = builder.GetLayout <T>();

            var property = new LayoutListLayoutProperty <TLayout, TSchema, T>(builder.ImplementationType, _property, layout, Required);

            builder.Add(property);
        }
Esempio n. 2
0
        public void Apply(ILayoutBuilder <TLayout, TSchema> builder)
        {
            var property = new EntityLayoutProperty <TLayout, TSchema, TEntity, TProperty>(builder.ImplementationType, _property, Required, _propertyConverter);

            builder.Add(property);
        }