示例#1
0
 /// <summary>
 /// Create a new UserFile object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="fileName">Initial value of the fileName property.</param>
 public static UserFile CreateUserFile(global::System.Int32 id, global::System.String fileName)
 {
     UserFile userFile = new UserFile();
     userFile.id = id;
     userFile.fileName = fileName;
     return userFile;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserFiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserFiles(UserFile userFile)
 {
     base.AddObject("UserFiles", userFile);
 }