Exemple #1
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
            });
        }
Exemple #2
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Profile = new ConfFac.Profile.Server(null).Convert(dt.Profile) as Conf.Profile.Data,
                Relationship = new ConfFac.Relationship.Server(null).Convert(dt.Relationship) as Conf.Relationship.Data,
            });
        }
Exemple #3
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Name = dt.Name,
                State = new State.Server(null).Convert(dt.State) as StateComp.Data,
            });
        }
Exemple #4
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Standard = new Standard.Server(null).Convert(dt.Standard) as Sparkle.School.Component.Standard.Data,
                Section = new Section.Server(null).Convert(dt.Section) as Sparkle.School.Component.Section.Data
            });
        }
Exemple #5
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Name = dt.Name,
                Country = new Country.Server(null).Convert(dt.Country) as CountryComp.Data,
            });
        }
Exemple #6
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Name = dt.Name,
                CurrentFlag = dt.CurrentFlag,
            });
        }
Exemple #7
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Name = dt.Name,
                IsPercentage = dt.IsPercentage,
                IsActive = dt.IsActive,
            });
        }
Exemple #8
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                TotalMarks = dt.TotalMarks,
                IsPassed = dt.IsPassed,
                Rank = dt.Rank,
            });
        }
Exemple #9
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Name = dt.Name,
                TotalMarks = dt.TotalMarks,
                PassMarks = dt.PassMarks,
            });
        }
Exemple #10
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                FirstName = dt.FirstName,
                MiddleName = dt.MiddleName,
                LastName = dt.LastName,
                DateOfBirth = dt.DateOfBirth,
            });
        }
Exemple #11
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Address = dt.Address,
                District = new District.Server(null).Convert(dt.District) as DistrictComp.Data,
                Pin = dt.Pin,
                Landline = dt.Landline,
            });
        }
Exemple #12
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                FeeDefinition = new Fee.Definition.Server(null).Convert(dt.FeeDefinition) as Sparkle.Billing.Component.Fee.Definition.Data,
                Caste = new Configuration.Facade.Caste.Server(null).Convert(dt.Caste) as Crystal.Configuration.Component.Caste.Data,
                Amount = dt.Amount,
                IsPercentage = dt.IsPercentage,
                IsActive = dt.IsActive,
            });
        }
Exemple #13
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Name = dt.Name,
                Logo = dt.Logo,
                AccreditationNumber = dt.AccreditationNumber,
                Tan = dt.Tan,
                ContactInformation = new ContInfoFac.Server(null).Convert(dt.ContactInformation) as ContInfo.Data
            });
        }
Exemple #14
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Amount = dt.Amount,
                //FineType = new Type.Server(null).Convert(dt.FineType) as Comp.Type.Data,
                Definition = new Definition.Server(null).Convert(dt.Definition) as Comp.Definition.Data,
                SchoolStandard = new School.Facade.Standard.Server(null).Convert(dt.SchoolStandard) as School.Component.Standard.Data,
                IsActive = dt.IsActive,
            });
        }
Exemple #15
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                FirstName = dt.FirstName,
                MiddleName = dt.MiddleName,
                LastName = dt.LastName,
                Occupation = new Occupation.Server(null).Convert(dt.Occupation) as OcuComp.Data,
                ContactInformation = new ContactInformation.Server(null).Convert(dt.ContactInformation) as ContComp.Data,
                Mobile = new Mobile.Server(null).Convert(dt.Mobile) as MobileComp.Data,
            });
        }
Exemple #16
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Date = dt.Date,
                Installment = dt.Installment,
                FeeAmount = dt.FeeAmount,
                FineAmount = dt.FineAmount,
                TotalAmount = dt.TotalAmount,
                AmountPaid = dt.AmountPaid,
            });
        }
Exemple #17
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Amount = dt.Amount,
                FeeGroup = new Fac.Group.Server(null).Convert(dt.FeeGroup) as Comp.Group.Data,
                FeeDefination = new Definition.Server(null).Convert(dt.FeeDefination) as Comp.Definition.Data,
                SchoolStandard = new SchFac.Standard.Server(null).Convert(dt.SchoolStandard) as SchComp.Standard.Data,
                Category = new StuFac.Category.Server(null).Convert(dt.Category) as StuComp.Category.Data,
                IsActive = dt.IsActive,
            });
        }
Exemple #18
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            if (dto == null)
            {
                return(null);
            }
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                Name = dt.Name,
                Code = dt.Code,
                IsdCode = dt.IsdCode,
            });
        }
Exemple #19
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                FirstName = dt.FirstName,
                MiddleName = dt.MiddleName,
                LastName = dt.LastName,
                RollNumber = dt.RollNumber,
                Standard = new SchlFac.Standard.Server(null).Convert(dt.Standard) as Schl.Standard.Data,
                Section = new SchlFac.Section.Server(null).Convert(dt.Section) as Schl.Section.Data,
                PersonalInformation = new PersonalInformation.Server(null).Convert(dt.PersonalInformation) as Comp.PersonalInformation.Data,
                GuardianList = new Guardian.Server(null).ConvertAll <BinAff.Core.Data, BinAff.Facade.Library.Dto>(dt.GuardianList),
                Category = new Category.Server(null).Convert(dt.Category) as Comp.Category.Data,
            });
        }
Exemple #20
0
        public override BinAff.Core.Data Convert(BinAff.Facade.Library.Dto dto)
        {
            if (dto == null)
            {
                return(null);
            }
            Dto dt = dto as Dto;

            return(new Comp.Data
            {
                Id = dt.Id,
                DateOfBirth = dt.DateOfBirth,
                BirthPlace = dt.BirthPlace,
                MotherTongue = new ConfFac.MotherTongue.Server(null).Convert(dt.MotherTongue) as Conf.MotherTongue.Data,
                Religion = new ConfFac.Religion.Server(null).Convert(dt.Religion) as Conf.Religion.Data,
                Caste = new ConfFac.Caste.Server(null).Convert(dt.Caste) as Conf.Caste.Data,
                SubCaste = new ConfFac.SubCaste.Server(null).Convert(dt.SubCaste) as Conf.SubCaste.Data,
                Gender = new ConfFac.Gender.Server(null).Convert(dt.Gender) as Conf.Gender.Data,
                PresentAddress = new ConfFac.ContactInformation.Server(null).Convert(dt.CurrentAddress) as Conf.ContactInformation.Data,
                PermanentAddress = new ConfFac.ContactInformation.Server(null).Convert(dt.PermanentAddress) as Conf.ContactInformation.Data,
            });
        }