public EmailDTO(Int32 emailID, String address, Nullable<Int32> emailTypeID, List<BusinessEmailDTO> businessEmails, TypeCodeDTO typeCode, List<UserEmailDTO> userEmails) { this.EmailID = emailID; this.Address = address; this.EmailTypeID = emailTypeID; this.BusinessEmails = businessEmails; this.TypeCode = typeCode; this.UserEmails = userEmails; }
public JobApplicationStateDTO(Int32 jobApplicationStateID, Int32 jobApplicationID, Int32 jobApplicationStatusID, DateTime insdt, Int32 insuser, JobApplicationDTO jobApplication, TypeCodeDTO typeCode) { this.JobApplicationStateID = jobApplicationStateID; this.JobApplicationID = jobApplicationID; this.JobApplicationStatusID = jobApplicationStatusID; this.insdt = insdt; this.insuser = insuser; this.JobApplication = jobApplication; this.TypeCode = typeCode; }
public PhoneDTO(Int32 phoneID, Nullable<Int32> countryID, String number, String ext, Nullable<Int32> phoneTypeID, List<BusinessPhoneDTO> businessPhones, TypeCodeDTO typeCode, List<UserPhoneDTO> userPhones) { this.PhoneID = phoneID; this.CountryID = countryID; this.Number = number; this.Ext = ext; this.PhoneTypeID = phoneTypeID; this.BusinessPhones = businessPhones; this.TypeCode = typeCode; this.UserPhones = userPhones; }
public BusinessUserMapDTO(Int32 businessUserMapID, Int32 businessID, Int32 userID, Boolean isOwner, Nullable<Int32> businessUserTypeID, BusinessDTO business, TypeCodeDTO typeCode, UserDTO user) { this.BusinessUserMapID = businessUserMapID; this.BusinessID = businessID; this.UserID = userID; this.IsOwner = isOwner; this.BusinessUserTypeID = businessUserTypeID; this.Business = business; this.TypeCode = typeCode; this.User = user; }
public AddressDTO(Int32 addressID, String title, String line1, String line2, String line3, String city, String state, String zipCode, Nullable<Int32> countryID, Nullable<Int32> addressTypeID, CountryDTO country, TypeCodeDTO typeCode, List<BusinessAddressDTO> businessAddresses, List<UserAddressDTO> userAddresses) { this.AddressID = addressID; this.Title = title; this.Line1 = line1; this.Line2 = line2; this.Line3 = line3; this.City = city; this.State = state; this.ZipCode = zipCode; this.CountryID = countryID; this.AddressTypeID = addressTypeID; this.Country = country; this.TypeCode = typeCode; this.BusinessAddresses = businessAddresses; this.UserAddresses = userAddresses; }
/// <summary> /// Converts this instance of <see cref="JobsInABA.DAL.Entities.TypeCode"/> to an instance of <see cref="TypeCodeDTO"/>. /// </summary> /// <param name="entity"><see cref="JobsInABA.DAL.Entities.TypeCode"/> to convert.</param> public static TypeCodeDTO ToDTO(this JobsInABA.DAL.Entities.TypeCode entity) { if (entity == null) return null; var dto = new TypeCodeDTO(); dto.TypeCodeID = entity.TypeCodeID; dto.Name = entity.Name; dto.Code = entity.Code; dto.Description = entity.Description; dto.ClassTypeID = entity.ClassTypeID; dto.ParentTypeCodeID = entity.ParentTypeCodeID; entity.OnDTO(dto); return dto; }
public TypeCodeDTO(Int32 typeCodeID, String name, String code, String description, Int32 classTypeID, Nullable<Int32> parentTypeCodeID, List<AddressDTO> addresses, List<BusinessDTO> businesses, List<BusinessUserMapDTO> businessUserMaps, ClassTypeDTO classType, List<EmailDTO> emails, List<JobApplicationStateDTO> jobApplicationStates, List<JobDTO> jobs, List<TypeCodeDTO> typeCodes1, TypeCodeDTO typeCode1, List<PhoneDTO> phones) { this.TypeCodeID = typeCodeID; this.Name = name; this.Code = code; this.Description = description; this.ClassTypeID = classTypeID; this.ParentTypeCodeID = parentTypeCodeID; this.Addresses = addresses; this.Businesses = businesses; this.BusinessUserMaps = businessUserMaps; this.ClassType = classType; this.Emails = emails; this.JobApplicationStates = jobApplicationStates; this.Jobs = jobs; this.TypeCodes1 = typeCodes1; this.TypeCode1 = typeCode1; this.Phones = phones; }
public JobDTO(Int32 jobID, Int32 businessID, String title, String description, Nullable <Int32> jobTypeID, Boolean isActive, Boolean isDeleted, Nullable <DateTime> startDate, Nullable <DateTime> endDate, Nullable <Int32> insuser, Nullable <DateTime> insdt, Nullable <Int32> upduser, Nullable <DateTime> upddt, BusinessDTO business, List <JobApplicationDTO> jobApplications, TypeCodeDTO typeCode) { this.JobID = jobID; this.BusinessID = businessID; this.Title = title; this.Description = description; this.JobTypeID = jobTypeID; this.IsActive = isActive; this.IsDeleted = isDeleted; this.StartDate = startDate; this.EndDate = endDate; this.insuser = insuser; this.insdt = insdt; this.upduser = upduser; this.upddt = upddt; this.Business = business; this.JobApplications = jobApplications; this.TypeCode = typeCode; }
public JobDTO(Int32 jobID, Int32 businessID, String title, String description, Nullable<Int32> jobTypeID, Boolean isActive, Boolean isDeleted, Nullable<DateTime> startDate, Nullable<DateTime> endDate, Nullable<Int32> insuser, Nullable<DateTime> insdt, Nullable<Int32> upduser, Nullable<DateTime> upddt, BusinessDTO business, List<JobApplicationDTO> jobApplications, TypeCodeDTO typeCode) { this.JobID = jobID; this.BusinessID = businessID; this.Title = title; this.Description = description; this.JobTypeID = jobTypeID; this.IsActive = isActive; this.IsDeleted = isDeleted; this.StartDate = startDate; this.EndDate = endDate; this.insuser = insuser; this.insdt = insdt; this.upduser = upduser; this.upddt = upddt; this.Business = business; this.JobApplications = jobApplications; this.TypeCode = typeCode; }
public BusinessDTO(Int32 businessID, String name, String abbreviation, Nullable<DateTime> startDate, Int32 businessTypeID, Boolean isActive, Boolean isDeleted, Nullable<Int32> insuser, Nullable<DateTime> insdt, Nullable<Int32> upduser, Nullable<DateTime> upddt, TypeCodeDTO typeCode, UserDTO user, UserDTO user1, List<BusinessAddressDTO> businessAddresses, List<BusinessEmailDTO> businessEmails, List<BusinessPhoneDTO> businessPhones, List<BusinessUserMapDTO> businessUserMaps, List<JobDTO> jobs) { this.BusinessID = businessID; this.Name = name; this.Abbreviation = abbreviation; this.StartDate = startDate; this.BusinessTypeID = businessTypeID; this.IsActive = isActive; this.IsDeleted = isDeleted; this.insuser = insuser; this.insdt = insdt; this.upduser = upduser; this.upddt = upddt; this.TypeCode = typeCode; this.User = user; this.User1 = user1; this.BusinessAddresses = businessAddresses; this.BusinessEmails = businessEmails; this.BusinessPhones = businessPhones; this.BusinessUserMaps = businessUserMaps; this.Jobs = jobs; }
/// <summary> /// Invoked when <see cref="ToDTO"/> operation is about to return. /// </summary> /// <param name="dto"><see cref="TypeCodeDTO"/> converted from <see cref="JobsInABA.DAL.Entities.TypeCode"/>.</param> static partial void OnDTO(this JobsInABA.DAL.Entities.TypeCode entity, TypeCodeDTO dto);
public BusinessUserMapDTO(Int32 businessUserMapID, Int32 businessID, Int32 userID, Boolean isOwner, Nullable <Int32> businessUserTypeID, BusinessDTO business, TypeCodeDTO typeCode, UserDTO user) { this.BusinessUserMapID = businessUserMapID; this.BusinessID = businessID; this.UserID = userID; this.IsOwner = isOwner; this.BusinessUserTypeID = businessUserTypeID; this.Business = business; this.TypeCode = typeCode; this.User = user; }
public TypeCodeDTO(Int32 typeCodeID, String name, String code, String description, Int32 classTypeID, Nullable <Int32> parentTypeCodeID, List <AddressDTO> addresses, List <BusinessDTO> businesses, List <BusinessUserMapDTO> businessUserMaps, ClassTypeDTO classType, List <EmailDTO> emails, List <JobApplicationStateDTO> jobApplicationStates, List <JobDTO> jobs, List <TypeCodeDTO> typeCodes1, TypeCodeDTO typeCode1, List <PhoneDTO> phones) { this.TypeCodeID = typeCodeID; this.Name = name; this.Code = code; this.Description = description; this.ClassTypeID = classTypeID; this.ParentTypeCodeID = parentTypeCodeID; this.Addresses = addresses; this.Businesses = businesses; this.BusinessUserMaps = businessUserMaps; this.ClassType = classType; this.Emails = emails; this.JobApplicationStates = jobApplicationStates; this.Jobs = jobs; this.TypeCodes1 = typeCodes1; this.TypeCode1 = typeCode1; this.Phones = phones; }
public PhoneDTO(Int32 phoneID, Nullable <Int32> countryID, String number, String ext, Nullable <Int32> phoneTypeID, List <BusinessPhoneDTO> businessPhones, TypeCodeDTO typeCode, List <UserPhoneDTO> userPhones) { this.PhoneID = phoneID; this.CountryID = countryID; this.Number = number; this.Ext = ext; this.PhoneTypeID = phoneTypeID; this.BusinessPhones = businessPhones; this.TypeCode = typeCode; this.UserPhones = userPhones; }
public EmailDTO(Int32 emailID, String address, Nullable <Int32> emailTypeID, List <BusinessEmailDTO> businessEmails, TypeCodeDTO typeCode, List <UserEmailDTO> userEmails) { this.EmailID = emailID; this.Address = address; this.EmailTypeID = emailTypeID; this.BusinessEmails = businessEmails; this.TypeCode = typeCode; this.UserEmails = userEmails; }
/// <summary> /// Invoked when <see cref="ToDTO"/> operation is about to return. /// </summary> /// <param name="dto"><see cref="TypeCodeDTO"/> converted from <see cref="JobsInABA.DAL.Entities.TypeCode"/>.</param> static partial void OnDTO(this JobsInABA.DAL.Entities.TypeCode entity, TypeCodeDTO dto) { if (entity.ClassType != null) dto.ClassType = ClassTypeAssembler.ToDTO(entity.ClassType); }
public AddressDTO(Int32 addressID, String title, String line1, String line2, String line3, String city, String state, String zipCode, Nullable <Int32> countryID, Nullable <Int32> addressTypeID, CountryDTO country, TypeCodeDTO typeCode, List <BusinessAddressDTO> businessAddresses, List <UserAddressDTO> userAddresses) { this.AddressID = addressID; this.Title = title; this.Line1 = line1; this.Line2 = line2; this.Line3 = line3; this.City = city; this.State = state; this.ZipCode = zipCode; this.CountryID = countryID; this.AddressTypeID = addressTypeID; this.Country = country; this.TypeCode = typeCode; this.BusinessAddresses = businessAddresses; this.UserAddresses = userAddresses; }
public BusinessDTO(Int32 businessID, String name, String abbreviation, Nullable <DateTime> startDate, Int32 businessTypeID, Boolean isActive, Boolean isDeleted, Nullable <Int32> insuser, Nullable <DateTime> insdt, Nullable <Int32> upduser, Nullable <DateTime> upddt, TypeCodeDTO typeCode, UserDTO user, UserDTO user1, List <BusinessAddressDTO> businessAddresses, List <BusinessEmailDTO> businessEmails, List <BusinessPhoneDTO> businessPhones, List <BusinessUserMapDTO> businessUserMaps, List <JobDTO> jobs) { this.BusinessID = businessID; this.Name = name; this.Abbreviation = abbreviation; this.StartDate = startDate; this.BusinessTypeID = businessTypeID; this.IsActive = isActive; this.IsDeleted = isDeleted; this.insuser = insuser; this.insdt = insdt; this.upduser = upduser; this.upddt = upddt; this.TypeCode = typeCode; this.User = user; this.User1 = user1; this.BusinessAddresses = businessAddresses; this.BusinessEmails = businessEmails; this.BusinessPhones = businessPhones; this.BusinessUserMaps = businessUserMaps; this.Jobs = jobs; }