Exemple #1
0
        public Boolean AddNewRecord(string userName, string pwd, string providerInfo, string DetailInfo, int sysUserID)
        {
            TabCredentialInfos newCredential = new TabCredentialInfos();

            newCredential.UserName     = userName;
            newCredential.Password     = pwd;
            newCredential.ProviderName = providerInfo;
            newCredential.DetailInfo   = DetailInfo;
            newCredential.SystemUserID = sysUserID;
            DBInstance.TabCredentialInfos.InsertOnSubmit(newCredential);
            DBInstance.SubmitChanges();
            return(true);
        }
Exemple #2
0
 private void TabCredentialInFOs_Detach(TabCredentialInfos entity)
 {
     this.SendPropertyChanging();
     entity.TabSystemUser = null;
 }