/// <summary> /// Deprecated Method for adding a new object to the bvc_SecurityToken EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_SecurityToken(bvc_SecurityToken bvc_SecurityToken) { base.AddObject("bvc_SecurityToken", bvc_SecurityToken); }
/// <summary> /// Create a new bvc_SecurityToken object. /// </summary> /// <param name="token">Initial value of the Token property.</param> /// <param name="expires">Initial value of the Expires property.</param> /// <param name="userID">Initial value of the UserID property.</param> public static bvc_SecurityToken Createbvc_SecurityToken(global::System.String token, global::System.DateTime expires, global::System.Int32 userID) { bvc_SecurityToken bvc_SecurityToken = new bvc_SecurityToken(); bvc_SecurityToken.Token = token; bvc_SecurityToken.Expires = expires; bvc_SecurityToken.UserID = userID; return bvc_SecurityToken; }