예제 #1
0
 public IEntityTranslatorFactory <TInput, TSchema> GetTranslateFactory <TResult, TInput>(IEntityTranslatorSpecification <TResult, TInput, TSchema> specification)
     where TResult : TSchema
     where TInput : TSchema
 {
     return(new X12EntityTranslatorFactory <TResult, TInput, TSchema>(specification));
 }
예제 #2
0
 public HL7EntityTranslatorFactory(IEntityTranslatorSpecification <TResult, TInput, TSchema> specification)
 {
     _specification = specification;
 }
예제 #3
0
 public TranslateEntityInlineSpecification(IEntityTranslatorSpecification <TEntity, TEntity, TSchema> specification)
 {
     _specification = specification;
 }
예제 #4
0
 public IEntityTranslator <TIn, TSchema> CreateEntityTranslator <T, TIn>(IEntityTranslatorSpecification <T, TIn, TSchema> specification)
     where T : TSchema
     where TIn : TSchema
 {
     return(_context.CreateEntityTranslator(specification));
 }
예제 #5
0
 public TranslateEntityValueInlineSpecification(Expression <Func <TResult, Value <TEntity> > > propertyExpression,
                                                IEntityTranslatorSpecification <TEntity, TEntity, TSchema> specification)
     : base(propertyExpression)
 {
     _specification = specification;
 }