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); }
private void TabCredentialInFOs_Detach(TabCredentialInfos entity) { this.SendPropertyChanging(); entity.TabSystemUser = null; }