/// <summary> /// Create a new Fan object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="sourceUserId">Initial value of the SourceUserId property.</param> /// <param name="fanUserId">Initial value of the FanUserId property.</param> public static Fan CreateFan(global::System.Int32 id, global::System.Int32 sourceUserId, global::System.Int32 fanUserId) { Fan fan = new Fan(); fan.Id = id; fan.SourceUserId = sourceUserId; fan.FanUserId = fanUserId; return fan; }
/// <summary> /// Deprecated Method for adding a new object to the Fans EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFans(Fan fan) { base.AddObject("Fans", fan); }