Example #1
0
 public TypeMapperConventions(
     TypeConvention <object, object> typeConvention,
     IKeyConvention keyConvention,
     IVersionConvention versionConvention)
 {
     TypeConvention    = typeConvention;
     KeyConvention     = keyConvention;
     VersionConvention = versionConvention;
 }
		public TypeMapperConventions(
			TypeConvention<object, object> typeConvention,
			IKeyConvention keyConvention,
			IVersionConvention versionConvention)
		{
			TypeConvention = typeConvention;
			KeyConvention = keyConvention;
			VersionConvention = versionConvention;
		}
Example #3
0
        public ModelAnnotationsMapper(
            TypeConvention <object, object> typeConvention,
            IKeyConvention keyConvention,
            IVersionConvention versionConvention)
        {
            var conventions =
                new TypeMapperConventions(null, null, null, typeConvention, keyConvention, versionConvention);

            typeMapper =
                TypeMapperFactory.Create(conventions);
        }
Example #4
0
        public static TypeMapper CreateByConventions(
            TypeConvention <object, object> convention,
            IKeyConvention keyConvention,
            IVersionConvention versionConvention)
        {
            var typeMapperConventions =
                new TypeMapperConventions(
                    convention,
                    keyConvention,
                    versionConvention);

            return
                (new TypeMapper(typeMapperConventions));
        }
Example #5
0
		public static TypeMapper CreateByConventions(
			TypeConvention<object, object> convention,
			IKeyConvention keyConvention,
			IVersionConvention versionConvention)
		{
			var typeMapperConventions =
				new TypeMapperConventions(
					convention,
					keyConvention,
					versionConvention);

			return
				new TypeMapper(typeMapperConventions);
		}
Example #6
0
 public TypeMapperConventions(
     IMemberStrategy primitiveStrategy,
     IMemberStrategy referenceStrategy,
     IMemberStrategy collectionStrategy,
     TypeConvention <object, object> typeConvention,
     IKeyConvention keyConvention,
     IVersionConvention versionConvention)
 {
     PrimitiveStrategy  = primitiveStrategy;
     ReferenceStrategy  = referenceStrategy;
     CollectionStrategy = collectionStrategy;
     TypeConvention     = typeConvention;
     KeyConvention      = keyConvention;
     VersionConvention  = versionConvention;
 }
		public TypeMapperConventions(
			IMemberStrategy primitiveStrategy,
			IMemberStrategy referenceStrategy,
			IMemberStrategy collectionStrategy,
			TypeConvention<object, object> typeConvention,
			IKeyConvention keyConvention,
			IVersionConvention versionConvention)
		{
			PrimitiveStrategy = primitiveStrategy;
			ReferenceStrategy = referenceStrategy;
			CollectionStrategy = collectionStrategy;
			TypeConvention = typeConvention;
			KeyConvention = keyConvention;
			VersionConvention = versionConvention;
		}
Example #8
0
 public TypeMapperConventions(IKeyConvention keyConvention, IVersionConvention versionConvention)
 {
     KeyConvention     = keyConvention;
     VersionConvention = versionConvention;
 }
		public TypeMapperConventions(IKeyConvention keyConvention, IVersionConvention versionConvention)
		{
			KeyConvention = keyConvention;
			VersionConvention = versionConvention;
		}