예제 #1
0
파일: Masters.cs 프로젝트: dilip07156/WCF
 public IList <DataContracts.Masters.DC_DynamicAttributes> GetDynamicAttributes(DataContracts.Masters.DC_DynamicAttributes RQ)
 {
     using (BusinessLayer.BL_Masters obj = new BL_Masters())
     {
         List <DataContracts.Masters.DC_DynamicAttributes> searchResults = new List <DataContracts.Masters.DC_DynamicAttributes>();
         searchResults = obj.GetDynamicAttributes(RQ);
         return(searchResults);
     }
 }
예제 #2
0
        public IList <DataContracts.Masters.DC_DynamicAttributes> GetAccomodationDynamicAttributes(string Accomodation_Id, string SubObject_Id, string DataKey_Id)
        {
            using (BusinessLayer.BL_Masters obj = new BL_Masters())
            {
                List <DataContracts.Masters.DC_DynamicAttributes> searchResults = new List <DataContracts.Masters.DC_DynamicAttributes>();

                DataContracts.Masters.DC_DynamicAttributes RQ = new DataContracts.Masters.DC_DynamicAttributes();
                RQ.DynamicAttribute_Id = Guid.Parse(DataKey_Id);
                RQ.ObjectSubElement_Id = Guid.Parse(SubObject_Id);
                RQ.Object_Id           = Guid.Parse(Accomodation_Id);

                return(obj.GetDynamicAttributes(RQ));
            }
        }