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); }
public void Apply(ILayoutBuilder <TLayout, TSchema> builder) { var property = new EntityLayoutProperty <TLayout, TSchema, TEntity, TProperty>(builder.ImplementationType, _property, Required, _propertyConverter); builder.Add(property); }