/// <summary>
 /// Deprecated Method for adding a new object to the DicomFile EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDicomFile(DicomFile dicomFile)
 {
     base.AddObject("DicomFile", dicomFile);
 }
 /// <summary>
 /// Create a new DicomFile object.
 /// </summary>
 /// <param name="fileId">Initial value of the FileId property.</param>
 /// <param name="uploadTime">Initial value of the UploadTime property.</param>
 /// <param name="studyId">Initial value of the StudyId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static DicomFile CreateDicomFile(global::System.Int32 fileId, global::System.DateTime uploadTime, global::System.Int32 studyId, global::System.String name)
 {
     DicomFile dicomFile = new DicomFile();
     dicomFile.FileId = fileId;
     dicomFile.UploadTime = uploadTime;
     dicomFile.StudyId = studyId;
     dicomFile.Name = name;
     return dicomFile;
 }
 private bool FilterDicomFile(DicomFile entity)
 {
     return (entity.StudyId == this.IdVysetrenia);
 }
 private void DetachDicomFile(DicomFile entity)
 {
     entity.Vysetrenie = null;
 }
 private void AttachDicomFile(DicomFile entity)
 {
     entity.Vysetrenie = this;
 }
 private bool FilterDicomFile(DicomFile entity)
 {
     return (entity.FileId == this.FileId);
 }