/// <summary> /// Create a new QzoneOAuth object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="accessTokenKey">Initial value of the AccessTokenKey property.</param> /// <param name="accessTokenSecret">Initial value of the AccessTokenSecret property.</param> /// <param name="openId">Initial value of the OpenId property.</param> public static QzoneOAuth CreateQzoneOAuth(global::System.Int32 userId, global::System.String accessTokenKey, global::System.String accessTokenSecret, global::System.String openId) { QzoneOAuth qzoneOAuth = new QzoneOAuth(); qzoneOAuth.UserId = userId; qzoneOAuth.AccessTokenKey = accessTokenKey; qzoneOAuth.AccessTokenSecret = accessTokenSecret; qzoneOAuth.OpenId = openId; return qzoneOAuth; }
/// <summary> /// Deprecated Method for adding a new object to the QzoneOAuth EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToQzoneOAuth(QzoneOAuth qzoneOAuth) { base.AddObject("QzoneOAuth", qzoneOAuth); }