Example #1
0
 /// <summary>
 /// Create a new File object.
 /// </summary>
 /// <param name="fileId">Initial value of the FileId property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 public static File CreateFile(global::System.Int32 fileId, global::System.DateTime createdOn, global::System.Guid createdBy)
 {
     File file = new File();
     file.FileId = fileId;
     file.CreatedOn = createdOn;
     file.CreatedBy = createdBy;
     return file;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Files EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFiles(File file)
 {
     base.AddObject("Files", file);
 }