/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the UserFiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserFiles(UserFile userFile) { base.AddObject("UserFiles", userFile); }