Пример #1
0
 public bool Update(Person person ,int old_businessEntityId)
 {
     PersonDAC personComponent = new PersonDAC();
     return personComponent.UpdatePerson( person.BusinessEntityId,  person.NameStyle,  person.EmailPromotion,  person.RowGuid,  DateTime.Now,  person.CreatedDate,  person.NationalityCode,person.Gender,person.DateofBirth,person.PersonImage,  old_businessEntityId);
 }
Пример #2
0
 public bool Update(int BusinessEntityId, bool NameStyle, int EmailPromotion, Guid RowGuid, DateTime ModifiedDate, DateTime CreatedDate, string NationalityCode, string Gender, DateTime DateofBirth, string PersonImage, int Original_BusinessEntityId)
 {
     PersonDAC personComponent = new PersonDAC();
     return personComponent.UpdatePerson( BusinessEntityId,  NameStyle,  EmailPromotion,  RowGuid,  DateTime.Now,  CreatedDate,  NationalityCode,Gender,DateofBirth,PersonImage,  Original_BusinessEntityId);
 }
Пример #3
0
 public bool Update(int BusinessEntityId, bool NameStyle, int EmailPromotion, Guid RowGuid, DateTime ModifiedDate, DateTime CreatedDate, string NationalityCode, string Title, string FirstName, string MiddleName, string LastName, string DisplayName, string Suffix, string Gender, DateTime DateofBirth, string PersonImage)
 {
     PersonDAC personComponent = new PersonDAC();
      personComponent.UpdatePerson(BusinessEntityId, NameStyle, EmailPromotion, new Guid(), DateTime.Now, DateTime.Now, NationalityCode, Gender, DateofBirth, PersonImage,BusinessEntityId);
      PersonLanguagesDAC plangComponent = new PersonLanguagesDAC();
      Person person= new PersonLogic().GetByID(BusinessEntityId);
      return plangComponent.UpdatePersonLanguages(BusinessEntityId, Common.DefaultLanguage.LanguageId, Title, FirstName, MiddleName, LastName, Suffix, DisplayName,person.PersonDefaultLanguage.PersonLanguageId);
 }