/// <summary> /// Deprecated Method for adding a new object to the VPartners EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVPartners(VPartner vPartner) { base.AddObject("VPartners", vPartner); }
/// <summary> /// Create a new VPartner object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="roleId">Initial value of the RoleId property.</param> public static VPartner CreateVPartner(global::System.Int32 userId, global::System.String userName, global::System.Int32 roleId) { VPartner vPartner = new VPartner(); vPartner.UserId = userId; vPartner.UserName = userName; vPartner.RoleId = roleId; return vPartner; }