protected SubClassPart(DiscriminatorPart parent, object discriminatorValue, MappingProviderStore providers) : base(providers) { this.parent = parent; this.discriminatorValue = discriminatorValue; this.providers = providers; }
protected ClassMap(AttributeStore attributes, MappingProviderStore providers) : base(providers) { this.attributes = attributes; this.providers = providers; optimisticLock = new OptimisticLockBuilder <ClassMap <T> >(this, value => attributes.Set("OptimisticLock", Layer.UserSupplied, value)); polymorphism = new PolymorphismBuilder <ClassMap <T> >(this, value => attributes.Set("Polymorphism", Layer.UserSupplied, value)); schemaAction = new SchemaActionBuilder <ClassMap <T> >(this, value => attributes.Set("SchemaAction", Layer.UserSupplied, value)); Cache = new CachePart(typeof(T)); }
protected JoinedSubClassPart(string keyColumn, AttributeStore attributes, MappingProviderStore providers) : base(providers) { this.providers = providers; this.attributes = attributes; columns = new ColumnMappingCollection <JoinedSubClassPart <TSubclass> >(this) { keyColumn }; }
protected JoinPart(string tableName, MappingProviderStore providers) : base(providers) { this.providers = providers; fetch = new FetchTypeExpression <JoinPart <T> >(this, value => attributes.Set("Fetch", Layer.UserSupplied, value)); attributes.Set("TableName", Layer.Defaults, tableName); attributes.Set("Key", Layer.Defaults, new KeyMapping { ContainingEntityType = typeof(T) }); }
protected ComponentPartBase(AttributeStore attributes, Member member, MappingProviderStore providers) : base(providers) { this.attributes = attributes; access = new AccessStrategyBuilder <TBuilder>((TBuilder)this, value => attributes.Set("Access", Layer.UserSupplied, value)); this.member = member; this.providers = providers; if (member != null) { SetDefaultAccess(); } }
protected ClassMap(AttributeStore <ClassMapping> attributes, MappingProviderStore providers) : base(providers) { this.attributes = attributes; this.providers = providers; this.optimisticLock = new OptimisticLockBuilder <ClassMap <T> >(this, (Action <string>)(value => { AttributeStore <ClassMapping> temp_48 = attributes; ParameterExpression local_0 = Expression.Parameter(typeof(ClassMapping), "x"); // ISSUE: method reference Expression <Func <ClassMapping, string> > temp_64 = Expression.Lambda <Func <ClassMapping, string> >((Expression)Expression.Property((Expression)local_0, (MethodInfo)MethodBase.GetMethodFromHandle(__methodref(ClassMapping.get_OptimisticLock))), new ParameterExpression[1] { local_0 }); string temp_65 = value; temp_48.Set <string>(temp_64, temp_65); })); this.polymorphism = new PolymorphismBuilder <ClassMap <T> >(this, (Action <string>)(value => { AttributeStore <ClassMapping> temp_67 = attributes; ParameterExpression local_0 = Expression.Parameter(typeof(ClassMapping), "x"); // ISSUE: method reference Expression <Func <ClassMapping, string> > temp_83 = Expression.Lambda <Func <ClassMapping, string> >((Expression)Expression.Property((Expression)local_0, (MethodInfo)MethodBase.GetMethodFromHandle(__methodref(ClassMapping.get_Polymorphism))), new ParameterExpression[1] { local_0 }); string temp_84 = value; temp_67.Set <string>(temp_83, temp_84); })); this.schemaAction = new SchemaActionBuilder <ClassMap <T> >(this, (Action <string>)(value => { AttributeStore <ClassMapping> temp_86 = attributes; ParameterExpression local_0 = Expression.Parameter(typeof(ClassMapping), "x"); // ISSUE: method reference Expression <Func <ClassMapping, string> > temp_102 = Expression.Lambda <Func <ClassMapping, string> >((Expression)Expression.Property((Expression)local_0, (MethodInfo)MethodBase.GetMethodFromHandle(__methodref(ClassMapping.get_SchemaAction))), new ParameterExpression[1] { local_0 }); string temp_103 = value; temp_86.Set <string>(temp_102, temp_103); })); this.Cache = new CachePart(typeof(T)); }
protected ClasslikeMapBase(MappingProviderStore providers) { this.providers = providers; }
protected SubclassMap(MappingProviderStore providers) : base(providers) { this.providers = providers; }
private DynamicComponentPart(Type entity, Member member, AttributeStore underlyingStore, MappingProviderStore providers) : base(underlyingStore, member, providers) { this.entity = entity; this.providers = providers; }
protected ClassMap(AttributeStore <ClassMapping> attributes, MappingProviderStore providers);