Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FileData EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFileData(FileData fileData)
 {
     base.AddObject("FileData", fileData);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new FileData object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="size">Initial value of the Size property.</param>
 public static FileData CreateFileData(global::System.Int32 id, global::System.Int32 size)
 {
     FileData fileData = new FileData();
     fileData.ID = id;
     fileData.Size = size;
     return fileData;
 }