Beispiel #1
0
        public override bool InsertElement(Employee oT)
        {
            TrainingCenterEntities oEntity = ConnectionEntities.getTrainingCenter(mAcount);

            return(oEntity.SP_Creat_Employees(oT.EmployeeName, oT.Sex, oT.DateBirhday, oT.Mobile, oT.Phone, oT.Email
                                              , oT.UniversityName, oT.Address, oT.IdentityNumber, oT.DateOfIssue, oT.PlaceOfIssue, oT.PlaceBirthday, oT.PersonalTaxCode,
                                              oT.Description, null, oT.DateCreate, oT.DateLastUpdate, oT.DateRegister, oT.JobTitleId, oT.CenterId,
                                              oT.OuId, null) > 0 ? true : false);
        }