Example #1
0
 public TicketRelationshipMapping(IDbNameFormatter nameFormatter)
 {
     if (nameFormatter == null)
     {
         throw new ArgumentNullException(nameof(nameFormatter));
     }
     this.nameFormatter = nameFormatter;
 }
Example #2
0
 public OneToManyMapping(IDbNameFormatter formatter)
 {
     if (formatter == null)
     {
         throw new ArgumentNullException(nameof(formatter));
     }
     this.formatter = formatter;
 }
Example #3
0
 public LabelMapping(IDbNameFormatter nameFormatter)
 {
     if (nameFormatter == null)
     {
         throw new ArgumentNullException(nameof(nameFormatter));
     }
     this.nameFormatter = nameFormatter;
 }
Example #4
0
 public EntityTypeMapping(IDbNameFormatter formatter)
 {
     this.formatter = formatter ?? throw new ArgumentNullException(nameof(formatter));
 }
Example #5
0
 public ProjectMapping(IDbNameFormatter nameFormatter)
 {
     this.nameFormatter = nameFormatter ?? throw new ArgumentNullException(nameof(nameFormatter));
 }
Example #6
0
 public PropertyMapping(IDbNameFormatter formatter,
                        IGetsWhetherPropertyShouldBeMapped ignoredPropertiesProvider)
 {
     this.formatter = formatter ?? throw new ArgumentNullException(nameof(formatter));
     this.ignoredPropertiesProvider = ignoredPropertiesProvider ?? throw new ArgumentNullException(nameof(ignoredPropertiesProvider));
 }