partial void DeleteT_UserInformation(T_UserInformation instance);
 partial void UpdateT_UserInformation(T_UserInformation instance);
Esempio n. 3
0
		internal UserInformation GetUserInformationEntity(T_UserInformation tUserInfo)
		{
			UserInformation userInfo = new UserInformation();
			userInfo.Login = tUserInfo.Login;
			userInfo.FirstName = tUserInfo.usrFirstName;
			userInfo.LastName = tUserInfo.usrLastName;
			return userInfo;
		}
 partial void InsertT_UserInformation(T_UserInformation instance);
Esempio n. 5
0
		public void AddUserInformation(UserInformation entity)
		{
			using (var dc = new EngageCCTDataClassesDataContext())
			{
				var userInfo = new T_UserInformation();
				userInfo.Login = entity.Login;
				userInfo.usrFirstName = entity.FirstName;
				userInfo.usrLastName = entity.LastName;
				dc.T_UserInformations.InsertOnSubmit(userInfo);
				dc.SubmitChanges();
			}
		}