/// <summary>
 /// Constructor for building a new object with MinimalConstructor required fields, using objects whenever possible
 /// </summary>
 public FieldDefinitionDataImage(FieldDefinitionData fieldDefinitionData, FileResourceInfo fileResourceInfo) : this()
 {
     // Mark this as a new object by setting primary key with special value
     this.FieldDefinitionDataImageID = ModelObjectHelpers.MakeNextUnsavedPrimaryKeyValue();
     this.FieldDefinitionDataID      = fieldDefinitionData.FieldDefinitionDataID;
     this.FieldDefinitionData        = fieldDefinitionData;
     fieldDefinitionData.FieldDefinitionDataImages.Add(this);
     this.FileResourceInfoID = fileResourceInfo.FileResourceInfoID;
     this.FileResourceInfo   = fileResourceInfo;
     fileResourceInfo.FieldDefinitionDataImages.Add(this);
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static FieldDefinitionDataImage CreateNewBlank(FieldDefinitionData fieldDefinitionData, FileResourceInfo fileResourceInfo)
 {
     return(new FieldDefinitionDataImage(fieldDefinitionData, fileResourceInfo));
 }