예제 #1
0
 void IFilesRepository.CreateFileReference(FileReference fileReference)
 {
     using (var dc = CreateContext())
     {
         dc.FileReferenceEntities.InsertOnSubmit(fileReference.Map());
         dc.SubmitChanges();
     }
 }