Example #1
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);
 }
Example #2
0
 /// <summary>
 /// Create a new File object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="presentationId">Initial value of the PresentationId property.</param>
 public static File CreateFile(global::System.Int32 id, global::System.String name, global::System.String description, global::System.Int32 presentationId)
 {
     File file = new File();
     file.Id = id;
     file.Name = name;
     file.Description = description;
     file.PresentationId = presentationId;
     return file;
 }