Exemple #1
0
 /// <summary>
 /// Marks a given <paramref name="file"/> as being important in the obtaining of the <paramref name="parent"/> <see cref="GovernancePeriod"/>
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="parent"></param>
 /// <param name="file"></param>
 public GovernanceDocument(ICatalogueRepository repository, GovernancePeriod parent, FileInfo file)
 {
     repository.InsertAndHydrate(this, new Dictionary <string, object>
     {
         { "GovernancePeriod_ID", parent.ID },
         { "URL", file.FullName },
         { "Name", file.Name }
     });
 }