예제 #1
0
        public DynamicEntityConverterBuilder(ISchemaBuilder <TSchema> schemaBuilder, IEntitySelector entitySelector)
        {
            _schemaBuilder  = schemaBuilder;
            _entitySelector = entitySelector;

            ImplementationType = schemaBuilder.GetImplementationType <TEntity>();

            _properties = new List <IEntityProperty <TEntity> >();
        }
예제 #2
0
        public DynamicEntityMapBuilder(ISchemaBuilder <TSchema> schemaBuilder, IEntityTypeSelector entityTypeSelector)
        {
            _schemaBuilder      = schemaBuilder;
            _entityTypeSelector = entityTypeSelector;

            ImplementationType = schemaBuilder.GetImplementationType <TEntity>();

            _properties     = new List <IEntityProperty <TEntity> >();
            _sliceProviders = new List <ITextSliceProvider <TEntity> >();
        }