/// <summary>
 /// Constructor for building a new object with MinimalConstructor required fields, using objects whenever possible
 /// </summary>
 public GisDefaultMapping(GisUploadSourceOrganization gisUploadSourceOrganization, FieldDefinition fieldDefinition, string gisDefaultMappingColumnName) : this()
 {
     // Mark this as a new object by setting primary key with special value
     this.GisDefaultMappingID           = ModelObjectHelpers.MakeNextUnsavedPrimaryKeyValue();
     this.GisUploadSourceOrganizationID = gisUploadSourceOrganization.GisUploadSourceOrganizationID;
     this.GisUploadSourceOrganization   = gisUploadSourceOrganization;
     gisUploadSourceOrganization.GisDefaultMappings.Add(this);
     this.FieldDefinitionID           = fieldDefinition.FieldDefinitionID;
     this.GisDefaultMappingColumnName = gisDefaultMappingColumnName;
 }
 /// <summary>
 /// Constructor for building a new object with MinimalConstructor required fields, using objects whenever possible
 /// </summary>
 public GisExcludeIncludeColumn(GisUploadSourceOrganization gisUploadSourceOrganization, string gisDefaultMappingColumnName, bool isWhitelist) : this()
 {
     // Mark this as a new object by setting primary key with special value
     this.GisExcludeIncludeColumnID     = ModelObjectHelpers.MakeNextUnsavedPrimaryKeyValue();
     this.GisUploadSourceOrganizationID = gisUploadSourceOrganization.GisUploadSourceOrganizationID;
     this.GisUploadSourceOrganization   = gisUploadSourceOrganization;
     gisUploadSourceOrganization.GisExcludeIncludeColumns.Add(this);
     this.GisDefaultMappingColumnName = gisDefaultMappingColumnName;
     this.IsWhitelist = isWhitelist;
 }
Exemple #3
0
 /// <summary>
 /// Constructor for building a new object with MinimalConstructor required fields, using objects whenever possible
 /// </summary>
 public GisCrossWalkDefault(GisUploadSourceOrganization gisUploadSourceOrganization, FieldDefinition fieldDefinition, string gisCrossWalkSourceValue, string gisCrossWalkMappedValue) : this()
 {
     // Mark this as a new object by setting primary key with special value
     this.GisCrossWalkDefaultID         = ModelObjectHelpers.MakeNextUnsavedPrimaryKeyValue();
     this.GisUploadSourceOrganizationID = gisUploadSourceOrganization.GisUploadSourceOrganizationID;
     this.GisUploadSourceOrganization   = gisUploadSourceOrganization;
     gisUploadSourceOrganization.GisCrossWalkDefaults.Add(this);
     this.FieldDefinitionID       = fieldDefinition.FieldDefinitionID;
     this.GisCrossWalkSourceValue = gisCrossWalkSourceValue;
     this.GisCrossWalkMappedValue = gisCrossWalkMappedValue;
 }
 /// <summary>
 /// Constructor for building a new object with MinimalConstructor required fields, using objects whenever possible
 /// </summary>
 public GisUploadAttempt(GisUploadSourceOrganization gisUploadSourceOrganization, Person gisUploadAttemptCreatePerson, DateTime gisUploadAttemptCreateDate) : this()
 {
     // Mark this as a new object by setting primary key with special value
     this.GisUploadAttemptID            = ModelObjectHelpers.MakeNextUnsavedPrimaryKeyValue();
     this.GisUploadSourceOrganizationID = gisUploadSourceOrganization.GisUploadSourceOrganizationID;
     this.GisUploadSourceOrganization   = gisUploadSourceOrganization;
     gisUploadSourceOrganization.GisUploadAttempts.Add(this);
     this.GisUploadAttemptCreatePersonID = gisUploadAttemptCreatePerson.PersonID;
     this.GisUploadAttemptCreatePerson   = gisUploadAttemptCreatePerson;
     gisUploadAttemptCreatePerson.GisUploadAttemptsWhereYouAreTheGisUploadAttemptCreatePerson.Add(this);
     this.GisUploadAttemptCreateDate = gisUploadAttemptCreateDate;
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static GisUploadAttempt CreateNewBlank(GisUploadSourceOrganization gisUploadSourceOrganization, Person gisUploadAttemptCreatePerson)
 {
     return(new GisUploadAttempt(gisUploadSourceOrganization, gisUploadAttemptCreatePerson, default(DateTime)));
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static GisDefaultMapping CreateNewBlank(GisUploadSourceOrganization gisUploadSourceOrganization, FieldDefinition fieldDefinition)
 {
     return(new GisDefaultMapping(gisUploadSourceOrganization, fieldDefinition, default(string)));
 }
Exemple #7
0
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static GisCrossWalkDefault CreateNewBlank(GisUploadSourceOrganization gisUploadSourceOrganization, FieldDefinition fieldDefinition)
 {
     return(new GisCrossWalkDefault(gisUploadSourceOrganization, fieldDefinition, default(string), default(string)));
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static GisExcludeIncludeColumn CreateNewBlank(GisUploadSourceOrganization gisUploadSourceOrganization)
 {
     return(new GisExcludeIncludeColumn(gisUploadSourceOrganization, default(string), default(bool)));
 }
 public static void DeleteGisUploadSourceOrganization(this IQueryable <GisUploadSourceOrganization> gisUploadSourceOrganizations, GisUploadSourceOrganization gisUploadSourceOrganizationToDelete)
 {
     DeleteGisUploadSourceOrganization(gisUploadSourceOrganizations, new List <GisUploadSourceOrganization> {
         gisUploadSourceOrganizationToDelete
     });
 }