/// <summary> /// Deprecated Method for adding a new object to the Quotes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToQuotes(Quote quote) { base.AddObject("Quotes", quote); }
/// <summary> /// Create a new Quote object. /// </summary> /// <param name="quoteId">Initial value of the QuoteId property.</param> /// <param name="quoteText">Initial value of the QuoteText property.</param> /// <param name="dateAdded">Initial value of the DateAdded property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="filmId">Initial value of the FilmId property.</param> public static Quote CreateQuote(global::System.Int32 quoteId, global::System.String quoteText, global::System.DateTime dateAdded, global::System.Int32 userId, global::System.Int32 filmId) { Quote quote = new Quote(); quote.QuoteId = quoteId; quote.QuoteText = quoteText; quote.DateAdded = dateAdded; quote.UserId = userId; quote.FilmId = filmId; return quote; }