Save() public méthode

public Save ( ) : void
Résultat void
 public static UserConfig CreateNew(string email, Guid linnworksUniqueIdentifier, string accountName)
 {
     UserConfig result = new UserConfig();
     result.AuthorizationToken = Guid.NewGuid().ToString("N");
     result.Email = email;
     result.LinnworksUniqueIdentifier = linnworksUniqueIdentifier;
     result.AccountName = accountName;
     result.Save();
     return result;
 }
Exemple #2
0
        public static UserConfig CreateNew(string email, Guid linnworksUniqueIdentifier, string accountName)
        {
            UserConfig result = new UserConfig();

            result.AuthorizationToken = Guid.NewGuid().ToString("N");
            result.Email = email;
            result.LinnworksUniqueIdentifier = linnworksUniqueIdentifier;
            result.AccountName = accountName;
            result.Save();
            return(result);
        }