Пример #1
0
        /// <summary>
        /// Create a new SecuritySsoToken object.
        /// </summary>
        /// <param name="tokenId">Initial value of the TokenId property.</param>
        /// <param name="userName">Initial value of the UserName property.</param>
        /// <param name="created">Initial value of the Created property.</param>
        public static SecuritySsoToken CreateSecuritySsoToken(global::System.Guid tokenId, global::System.String userName, global::System.DateTime created)
        {
            SecuritySsoToken securitySsoToken = new SecuritySsoToken();

            securitySsoToken.TokenId  = tokenId;
            securitySsoToken.UserName = userName;
            securitySsoToken.Created  = created;
            return(securitySsoToken);
        }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SecuritySsoTokens EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSecuritySsoTokens(SecuritySsoToken securitySsoToken)
 {
     base.AddObject("SecuritySsoTokens", securitySsoToken);
 }