Beispiel #1
0
 /// <summary>
 /// Create a new AttritionProfileMap object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="attritionId">Initial value of the AttritionId property.</param>
 public static AttritionProfileMap CreateAttritionProfileMap(global::System.Int32 id, ObjectInfo objectInfo, global::System.Int32 attritionId)
 {
     AttritionProfileMap attritionProfileMap = new AttritionProfileMap();
     attritionProfileMap.Id = id;
     attritionProfileMap.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     attritionProfileMap.AttritionId = attritionId;
     return attritionProfileMap;
 }
Beispiel #2
0
 /// <summary>
 /// Create a new UserRegionMap object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="regionId">Initial value of the RegionId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static UserRegionMap CreateUserRegionMap(global::System.Int32 id, ObjectInfo objectInfo, global::System.Int32 regionId, global::System.Int32 userId)
 {
     UserRegionMap userRegionMap = new UserRegionMap();
     userRegionMap.Id = id;
     userRegionMap.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     userRegionMap.RegionId = regionId;
     userRegionMap.UserId = userId;
     return userRegionMap;
 }
Beispiel #3
0
 partial void OnObjectInfoChanging(ObjectInfo value);
Beispiel #4
0
 /// <summary>
 /// Create a new Training object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="designation">Initial value of the Designation property.</param>
 public static Training CreateTraining(global::System.Int32 id, global::System.String name, global::System.String code, ObjectInfo objectInfo, global::System.String designation)
 {
     Training training = new Training();
     training.Id = id;
     training.Name = name;
     training.Code = code;
     training.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     training.Designation = designation;
     return training;
 }
Beispiel #5
0
 /// <summary>
 /// Create a new User object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="role">Initial value of the Role property.</param>
 /// <param name="parentId">Initial value of the ParentId property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 public static User CreateUser(global::System.Int32 id, global::System.String name, global::System.String email, global::System.String role, global::System.Int32 parentId, ObjectInfo objectInfo)
 {
     User user = new User();
     user.Id = id;
     user.Name = name;
     user.Email = email;
     user.Role = role;
     user.ParentId = parentId;
     user.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     return user;
 }
Beispiel #6
0
 /// <summary>
 /// Create a new SpecialSchemeIncentive object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="incentiveId">Initial value of the IncentiveId property.</param>
 /// <param name="specialIncentive">Initial value of the SpecialIncentive property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="specialSchemeId">Initial value of the SpecialSchemeId property.</param>
 public static SpecialSchemeIncentive CreateSpecialSchemeIncentive(global::System.Int32 id, global::System.Int32 incentiveId, global::System.Double specialIncentive, ObjectInfo objectInfo, global::System.Int32 specialSchemeId)
 {
     SpecialSchemeIncentive specialSchemeIncentive = new SpecialSchemeIncentive();
     specialSchemeIncentive.Id = id;
     specialSchemeIncentive.IncentiveId = incentiveId;
     specialSchemeIncentive.SpecialIncentive = specialIncentive;
     specialSchemeIncentive.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     specialSchemeIncentive.SpecialSchemeId = specialSchemeId;
     return specialSchemeIncentive;
 }
Beispiel #7
0
 /// <summary>
 /// Create a new Target object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="monthId">Initial value of the MonthId property.</param>
 /// <param name="dealerManpowerId">Initial value of the DealerManpowerId property.</param>
 /// <param name="actual">Initial value of the Actual property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="target1">Initial value of the Target1 property.</param>
 /// <param name="target2">Initial value of the Target2 property.</param>
 /// <param name="productVarientId">Initial value of the ProductVarientId property.</param>
 public static Target CreateTarget(global::System.Int32 id, global::System.Int32 monthId, global::System.Int32 dealerManpowerId, global::System.Int32 actual, ObjectInfo objectInfo, global::System.Int32 target1, global::System.Int32 target2, global::System.Int32 productVarientId)
 {
     Target target = new Target();
     target.Id = id;
     target.MonthId = monthId;
     target.DealerManpowerId = dealerManpowerId;
     target.Actual = actual;
     target.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     target.Target1 = target1;
     target.Target2 = target2;
     target.ProductVarientId = productVarientId;
     return target;
 }
Beispiel #8
0
 /// <summary>
 /// Create a new DsmDseTargetMap object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="dsmId">Initial value of the DsmId property.</param>
 /// <param name="dseId">Initial value of the DseId property.</param>
 /// <param name="monthId">Initial value of the MonthId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 public static DsmDseTargetMap CreateDsmDseTargetMap(global::System.Int32 id, global::System.Int32 dsmId, global::System.Int32 dseId, global::System.Int32 monthId, global::System.Int32 userId, ObjectInfo objectInfo)
 {
     DsmDseTargetMap dsmDseTargetMap = new DsmDseTargetMap();
     dsmDseTargetMap.Id = id;
     dsmDseTargetMap.DsmId = dsmId;
     dsmDseTargetMap.DseId = dseId;
     dsmDseTargetMap.MonthId = monthId;
     dsmDseTargetMap.UserId = userId;
     dsmDseTargetMap.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     return dsmDseTargetMap;
 }
Beispiel #9
0
 /// <summary>
 /// Create a new File object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="batchId">Initial value of the BatchId property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="path">Initial value of the Path property.</param>
 /// <param name="dealerId">Initial value of the DealerId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="monthId">Initial value of the MonthId property.</param>
 /// <param name="fileType">Initial value of the FileType property.</param>
 /// <param name="isActual">Initial value of the IsActual property.</param>
 public static File CreateFile(global::System.Int32 id, ObjectInfo objectInfo, global::System.Int32 batchId, global::System.String fileName, global::System.String path, global::System.Int32 dealerId, global::System.Int32 userId, global::System.Int32 monthId, global::System.String fileType, global::System.Boolean isActual)
 {
     File file = new File();
     file.Id = id;
     file.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     file.BatchId = batchId;
     file.FileName = fileName;
     file.Path = path;
     file.DealerId = dealerId;
     file.UserId = userId;
     file.MonthId = monthId;
     file.FileType = fileType;
     file.IsActual = isActual;
     return file;
 }
Beispiel #10
0
 /// <summary>
 /// Create a new DealerManpower object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="dealerId">Initial value of the DealerId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 public static DealerManpower CreateDealerManpower(global::System.Int32 id, global::System.String name, global::System.String type, global::System.Int32 dealerId, global::System.Int32 userId, ObjectInfo objectInfo, global::System.Int32 productId)
 {
     DealerManpower dealerManpower = new DealerManpower();
     dealerManpower.Id = id;
     dealerManpower.Name = name;
     dealerManpower.Type = type;
     dealerManpower.DealerId = dealerId;
     dealerManpower.UserId = userId;
     dealerManpower.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     dealerManpower.ProductId = productId;
     return dealerManpower;
 }
Beispiel #11
0
 /// <summary>
 /// Create a new DealerManpowerTargets object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="monthId">Initial value of the MonthId property.</param>
 /// <param name="planned">Initial value of the Planned property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="dealerId">Initial value of the DealerId property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 public static DealerManpowerTargets CreateDealerManpowerTargets(global::System.Int32 id, global::System.Int32 monthId, global::System.Int32 planned, global::System.Int32 userId, ObjectInfo objectInfo, global::System.Int32 dealerId, global::System.Int32 productId)
 {
     DealerManpowerTargets dealerManpowerTargets = new DealerManpowerTargets();
     dealerManpowerTargets.Id = id;
     dealerManpowerTargets.MonthId = monthId;
     dealerManpowerTargets.Planned = planned;
     dealerManpowerTargets.UserId = userId;
     dealerManpowerTargets.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     dealerManpowerTargets.DealerId = dealerId;
     dealerManpowerTargets.ProductId = productId;
     return dealerManpowerTargets;
 }
Beispiel #12
0
 /// <summary>
 /// Create a new Dealer object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="stateId">Initial value of the StateId property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 public static Dealer CreateDealer(global::System.Int32 id, global::System.String name, global::System.Int32 stateId, ObjectInfo objectInfo)
 {
     Dealer dealer = new Dealer();
     dealer.Id = id;
     dealer.Name = name;
     dealer.StateId = stateId;
     dealer.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     return dealer;
 }
Beispiel #13
0
 /// <summary>
 /// Create a new CompetencyProfileMap object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="dealerManpowerId">Initial value of the DealerManpowerId property.</param>
 /// <param name="competencyId">Initial value of the CompetencyId property.</param>
 /// <param name="score">Initial value of the Score property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 public static CompetencyProfileMap CreateCompetencyProfileMap(global::System.Int32 id, global::System.Int32 dealerManpowerId, global::System.Int32 competencyId, global::System.Double score, ObjectInfo objectInfo)
 {
     CompetencyProfileMap competencyProfileMap = new CompetencyProfileMap();
     competencyProfileMap.Id = id;
     competencyProfileMap.DealerManpowerId = dealerManpowerId;
     competencyProfileMap.CompetencyId = competencyId;
     competencyProfileMap.Score = score;
     competencyProfileMap.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     return competencyProfileMap;
 }
Beispiel #14
0
 /// <summary>
 /// Create a new Competency object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="designation">Initial value of the Designation property.</param>
 public static Competency CreateCompetency(global::System.Int32 id, global::System.String name, ObjectInfo objectInfo, global::System.String designation)
 {
     Competency competency = new Competency();
     competency.Id = id;
     competency.Name = name;
     competency.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     competency.Designation = designation;
     return competency;
 }
Beispiel #15
0
 /// <summary>
 /// Create a new Region object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 public static Region CreateRegion(global::System.Int32 id, global::System.String name, ObjectInfo objectInfo)
 {
     Region region = new Region();
     region.Id = id;
     region.Name = name;
     region.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     return region;
 }
Beispiel #16
0
 /// <summary>
 /// Create a new Incentive object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="dealer">Initial value of the Dealer property.</param>
 /// <param name="volvo">Initial value of the Volvo property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="dealerManpowerId">Initial value of the DealerManpowerId property.</param>
 /// <param name="monthId">Initial value of the MonthId property.</param>
 public static Incentive CreateIncentive(global::System.Int32 id, global::System.Double dealer, global::System.Double volvo, ObjectInfo objectInfo, global::System.Int32 dealerManpowerId, global::System.Int32 monthId)
 {
     Incentive incentive = new Incentive();
     incentive.Id = id;
     incentive.Dealer = dealer;
     incentive.Volvo = volvo;
     incentive.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     incentive.DealerManpowerId = dealerManpowerId;
     incentive.MonthId = monthId;
     return incentive;
 }
Beispiel #17
0
 /// <summary>
 /// Create a new SpecialScheme object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="regionId">Initial value of the RegionId property.</param>
 /// <param name="monthId">Initial value of the MonthId property.</param>
 /// <param name="stateId">Initial value of the StateId property.</param>
 /// <param name="dealerId">Initial value of the DealerId property.</param>
 public static SpecialScheme CreateSpecialScheme(global::System.Int32 id, global::System.String name, ObjectInfo objectInfo, global::System.Int32 regionId, global::System.Int32 monthId, global::System.Int32 stateId, global::System.Int32 dealerId)
 {
     SpecialScheme specialScheme = new SpecialScheme();
     specialScheme.Id = id;
     specialScheme.Name = name;
     specialScheme.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     specialScheme.RegionId = regionId;
     specialScheme.MonthId = monthId;
     specialScheme.StateId = stateId;
     specialScheme.DealerId = dealerId;
     return specialScheme;
 }
Beispiel #18
0
 /// <summary>
 /// Create a new ManpowerSalary object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="salary">Initial value of the Salary property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="dealerManpowerId">Initial value of the DealerManpowerId property.</param>
 public static ManpowerSalary CreateManpowerSalary(global::System.Int32 id, global::System.Double salary, ObjectInfo objectInfo, global::System.Int32 dealerManpowerId)
 {
     ManpowerSalary manpowerSalary = new ManpowerSalary();
     manpowerSalary.Id = id;
     manpowerSalary.Salary = salary;
     manpowerSalary.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     manpowerSalary.DealerManpowerId = dealerManpowerId;
     return manpowerSalary;
 }
Beispiel #19
0
 /// <summary>
 /// Create a new State object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="regionId">Initial value of the RegionId property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 public static State CreateState(global::System.Int32 id, global::System.String name, global::System.Int32 regionId, ObjectInfo objectInfo)
 {
     State state = new State();
     state.Id = id;
     state.Name = name;
     state.RegionId = regionId;
     state.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     return state;
 }
Beispiel #20
0
 /// <summary>
 /// Create a new Month object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="year">Initial value of the Year property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="numberOfEmployee">Initial value of the NumberOfEmployee property.</param>
 public static Month CreateMonth(global::System.Int32 id, global::System.String name, global::System.Int32 year, ObjectInfo objectInfo, global::System.Int32 numberOfEmployee)
 {
     Month month = new Month();
     month.Id = id;
     month.Name = name;
     month.Year = year;
     month.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     month.NumberOfEmployee = numberOfEmployee;
     return month;
 }
Beispiel #21
0
 /// <summary>
 /// Create a new TargetStatus object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="isEditable">Initial value of the IsEditable property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="start">Initial value of the Start property.</param>
 /// <param name="end">Initial value of the End property.</param>
 public static TargetStatus CreateTargetStatus(global::System.Int32 id, global::System.Boolean isEditable, ObjectInfo objectInfo, global::System.Int32 start, global::System.Int32 end)
 {
     TargetStatus targetStatus = new TargetStatus();
     targetStatus.Id = id;
     targetStatus.IsEditable = isEditable;
     targetStatus.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     targetStatus.Start = start;
     targetStatus.End = end;
     return targetStatus;
 }
Beispiel #22
0
 /// <summary>
 /// Create a new Product object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="productCategoryId">Initial value of the ProductCategoryId property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="isCommon">Initial value of the IsCommon property.</param>
 public static Product CreateProduct(global::System.Int32 id, global::System.String name, global::System.Int32 productCategoryId, ObjectInfo objectInfo, global::System.Boolean isCommon)
 {
     Product product = new Product();
     product.Id = id;
     product.Name = name;
     product.ProductCategoryId = productCategoryId;
     product.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     product.IsCommon = isCommon;
     return product;
 }
Beispiel #23
0
 /// <summary>
 /// Create a new TrainingProfileMap object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="dealerManpowerId">Initial value of the DealerManpowerId property.</param>
 /// <param name="trainingId">Initial value of the TrainingId property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 public static TrainingProfileMap CreateTrainingProfileMap(global::System.Int32 id, global::System.Int32 dealerManpowerId, global::System.Int32 trainingId, ObjectInfo objectInfo)
 {
     TrainingProfileMap trainingProfileMap = new TrainingProfileMap();
     trainingProfileMap.Id = id;
     trainingProfileMap.DealerManpowerId = dealerManpowerId;
     trainingProfileMap.TrainingId = trainingId;
     trainingProfileMap.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     return trainingProfileMap;
 }
Beispiel #24
0
 /// <summary>
 /// Create a new ProductCategory object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 public static ProductCategory CreateProductCategory(global::System.Int32 id, global::System.String name, ObjectInfo objectInfo)
 {
     ProductCategory productCategory = new ProductCategory();
     productCategory.Id = id;
     productCategory.Name = name;
     productCategory.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     return productCategory;
 }
Beispiel #25
0
 /// <summary>
 /// Create a new ActualStatus object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="isEditable">Initial value of the IsEditable property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="start">Initial value of the Start property.</param>
 /// <param name="end">Initial value of the End property.</param>
 public static ActualStatus CreateActualStatus(global::System.Int32 id, global::System.Boolean isEditable, ObjectInfo objectInfo, global::System.Int32 start, global::System.Int32 end)
 {
     ActualStatus actualStatus = new ActualStatus();
     actualStatus.Id = id;
     actualStatus.IsEditable = isEditable;
     actualStatus.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     actualStatus.Start = start;
     actualStatus.End = end;
     return actualStatus;
 }
Beispiel #26
0
 /// <summary>
 /// Create a new ProductVarient object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 public static ProductVarient CreateProductVarient(global::System.Int32 id, global::System.String name, global::System.Int32 productId, ObjectInfo objectInfo)
 {
     ProductVarient productVarient = new ProductVarient();
     productVarient.Id = id;
     productVarient.Name = name;
     productVarient.ProductId = productId;
     productVarient.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     return productVarient;
 }
Beispiel #27
0
 /// <summary>
 /// Create a new YearTarget object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="actual">Initial value of the Actual property.</param>
 /// <param name="target1">Initial value of the Target1 property.</param>
 /// <param name="target2">Initial value of the Target2 property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="dealerManpowerId">Initial value of the DealerManpowerId property.</param>
 /// <param name="year">Initial value of the Year property.</param>
 public static YearTarget CreateYearTarget(global::System.Int32 id, global::System.Int32 actual, global::System.Int32 target1, global::System.Int32 target2, ObjectInfo objectInfo, global::System.Int32 dealerManpowerId, global::System.String year)
 {
     YearTarget yearTarget = new YearTarget();
     yearTarget.Id = id;
     yearTarget.Actual = actual;
     yearTarget.Target1 = target1;
     yearTarget.Target2 = target2;
     yearTarget.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     yearTarget.DealerManpowerId = dealerManpowerId;
     yearTarget.Year = year;
     return yearTarget;
 }
Beispiel #28
0
 /// <summary>
 /// Create a new Profile object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="contactNumber">Initial value of the ContactNumber property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 public static Profile CreateProfile(global::System.Int32 id, global::System.String contactNumber, ObjectInfo objectInfo)
 {
     Profile profile = new Profile();
     profile.Id = id;
     profile.ContactNumber = contactNumber;
     profile.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     return profile;
 }
Beispiel #29
0
 /// <summary>
 /// Create a new ObjectInfo object.
 /// </summary>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static ObjectInfo CreateObjectInfo(global::System.DateTime createdDate, global::System.DateTime modifiedDate)
 {
     ObjectInfo objectInfo = new ObjectInfo();
     objectInfo.CreatedDate = createdDate;
     objectInfo.ModifiedDate = modifiedDate;
     return objectInfo;
 }
Beispiel #30
0
 /// <summary>
 /// Create a new Attrition object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="objectInfo">Initial value of the ObjectInfo property.</param>
 /// <param name="designation">Initial value of the Designation property.</param>
 public static Attrition CreateAttrition(global::System.Int32 id, global::System.String name, ObjectInfo objectInfo, global::System.String designation)
 {
     Attrition attrition = new Attrition();
     attrition.Id = id;
     attrition.Name = name;
     attrition.ObjectInfo = StructuralObject.VerifyComplexObjectIsNotNull(objectInfo, "ObjectInfo");
     attrition.Designation = designation;
     return attrition;
 }