示例#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);
 }
示例#2
0
 /// <summary>
 /// Create a new File object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="batchId">Initial value of the BatchId property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="path">Initial value of the Path property.</param>
 /// <param name="dealerId">Initial value of the DealerId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="monthId">Initial value of the MonthId property.</param>
 /// <param name="fileType">Initial value of the FileType property.</param>
 /// <param name="isActual">Initial value of the IsActual property.</param>
 public static File CreateFile(global::System.Int32 id, ObjectInfo objectInfo, global::System.Int32 batchId, global::System.String fileName, global::System.String path, global::System.Int32 dealerId, global::System.Int32 userId, global::System.Int32 monthId, global::System.String fileType, global::System.Boolean isActual)
 {
     File file = new File();
     file.Id = id;
     file.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     file.BatchId = batchId;
     file.FileName = fileName;
     file.Path = path;
     file.DealerId = dealerId;
     file.UserId = userId;
     file.MonthId = monthId;
     file.FileType = fileType;
     file.IsActual = isActual;
     return file;
 }