Exemplo n.º 1
0
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static FieldDefinitionDataImage CreateNewBlank(FieldDefinitionData fieldDefinitionData, FileResource fileResource)
 {
     return(new FieldDefinitionDataImage(fieldDefinitionData, fileResource));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static InteractionEventFileResource CreateNewBlank(InteractionEvent interactionEvent, FileResource fileResource)
 {
     return(new InteractionEventFileResource(interactionEvent, fileResource, default(string)));
 }
 public void DeleteFullAndChildless(DatabaseEntities dbContext)
 {
     FileResource.DeleteFull(dbContext);
     DeleteFull(dbContext);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static GrantModificationFileResource CreateNewBlank(GrantModification grantModification, FileResource fileResource)
 {
     return(new GrantModificationFileResource(grantModification, fileResource, default(string)));
 }
 public static void DeleteFileResource(this IQueryable <FileResource> fileResources, FileResource fileResourceToDelete)
 {
     DeleteFileResource(fileResources, new List <FileResource> {
         fileResourceToDelete
     });
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static CustomPageImage CreateNewBlank(CustomPage customPage, FileResource fileResource)
 {
     return(new CustomPageImage(customPage, fileResource));
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static GrantFileResource CreateNewBlank(Grant grant, FileResource fileResource)
 {
     return(new GrantFileResource(grant, fileResource, default(string)));
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static ProjectDocumentUpdate CreateNewBlank(ProjectUpdateBatch projectUpdateBatch, FileResource fileResource)
 {
     return(new ProjectDocumentUpdate(projectUpdateBatch, fileResource, default(string)));
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static FirmaPageImage CreateNewBlank(FirmaPage firmaPage, FileResource fileResource)
 {
     return(new FirmaPageImage(firmaPage, fileResource));
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static FirmaHomePageImage CreateNewBlank(FileResource fileResource)
 {
     return(new FirmaHomePageImage(fileResource, default(string), default(int)));
 }
 /// <summary>
 /// Creates a "blank" object of this type and populates primitives with defaults
 /// </summary>
 public static ProjectDocument CreateNewBlank(Project project, FileResource fileResource)
 {
     return(new ProjectDocument(project, fileResource, default(string)));
 }