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