/// <summary> /// Deprecated Method for adding a new object to the Files EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFiles(File file) { base.AddObject("Files", file); }
/// <summary> /// Create a new File object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="data">Initial value of the Data property.</param> /// <param name="partyId">Initial value of the PartyId property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static File CreateFile(global::System.Guid id, global::System.Byte data, global::System.Guid partyId, global::System.DateTime createdDate) { File file = new File(); file.Id = id; file.Data = data; file.PartyId = partyId; file.CreatedDate = createdDate; return file; }