/// <summary> /// Deprecated Method for adding a new object to the rating EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTorating(rating rating) { base.AddObject("rating", rating); }
/// <summary> /// Create a new rating object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> public static rating Createrating(global::System.Int32 id, global::System.DateTime lastModified) { rating rating = new rating(); rating.ID = id; rating.LastModified = lastModified; return rating; }