/// <summary> /// Create a new User object. /// </summary> /// <param name="pubSubHubUser">Initial value of the PubSubHubUser property.</param> /// <param name="kwwikaTopic">Initial value of the KwwikaTopic property.</param> /// <param name="maxHubSubscriptions">Initial value of the MaxHubSubscriptions property.</param> public static User CreateUser(global::System.String pubSubHubUser, global::System.String kwwikaTopic, global::System.Int16 maxHubSubscriptions) { User user = new User(); user.PubSubHubUser = pubSubHubUser; user.KwwikaTopic = kwwikaTopic; user.MaxHubSubscriptions = maxHubSubscriptions; return user; }
/// <summary> /// Deprecated Method for adding a new object to the UsersSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsersSet(User user) { base.AddObject("UsersSet", user); }