public override void Apply(KeyAttribute annotation, ModelOptions modelOptions, ClassTypeOptions typeOptions, ClassMemberOptions memberOptions) { memberOptions.IsKey = true; }
public abstract void Apply(TAttribute annotation, ModelOptions modelOptions, ClassTypeOptions typeOptions, ClassMemberOptions memberOptions);
public void Apply(Attribute annotation, ModelOptions modelOptions, ClassTypeOptions typeOptions, ClassMemberOptions memberOptions) { Apply((TAttribute)annotation, modelOptions, typeOptions, memberOptions); }
public override void Apply(PatchAttribute annotation, ModelOptions modelOptions, ClassTypeOptions typeOptions, ClassMemberOptions memberOptions) { typeOptions.UsePatchProxy = true; }
public override void Apply(NotMappedAttribute annotation, ModelOptions modelOptions, ClassTypeOptions typeOptions, ClassMemberOptions memberOptions) { memberOptions.Ignored = true; }
public ClassMemberOptionsBuilder(ClassTypeOptions typeOptions, ClassMemberOptions memberOptions) : base(typeOptions) { MemberOptions = memberOptions; }
public override void Apply(CompositionAttribute annotation, ModelOptions modelOptions, ClassTypeOptions typeOptions, ClassMemberOptions memberOptions) { memberOptions.Owned = true; }
public override void Apply(AggregationAttribute annotation, ModelOptions modelOptions, ClassTypeOptions typeOptions, ClassMemberOptions memberOptions) { memberOptions.Owned = false; }