コード例 #1
0
ファイル: Registrations.cs プロジェクト: rutukulkarni/PMD
        public bool UserRegistration(DataContracts.UserDetails userDetails)
        {
            StoredProcedureDataContext dbmlObject = new StoredProcedureDataContext();

            dbmlObject.InsertUserDetails(userDetails.CompanyId, userDetails.FirstName, userDetails.LastName, userDetails.UserEmail, userDetails.IsOwner, userDetails.EncryptedPassword);
            dbmlObject.SubmitChanges();
            return true;
        }
コード例 #2
0
        public bool UserRegistration(DataContracts.UserDetails userDetails)
        {
            StoredProcedureDataContext dbmlObject = new StoredProcedureDataContext();

            dbmlObject.InsertUserDetails(userDetails.CompanyId, userDetails.FirstName, userDetails.LastName, userDetails.UserEmail, userDetails.IsOwner, userDetails.EncryptedPassword);
            dbmlObject.SubmitChanges();
            return(true);
        }