コード例 #1
0
        public List <ThingExtensionProperty> GetProperties(long thingID, string searchFor)
        {
            List <ThingExtensionProperty>    props = new List <ThingExtensionProperty>();
            List <GetThingExtensions_Result> dbRes = db.GetThingExtensions(thingID, searchFor).ToList();

            foreach (GetThingExtensions_Result res in dbRes)
            {
                ThingExtensionProperty prop0 = new ThingExtensionProperty();
                prop0.ConvertFromQuery_GetThingExtensionsList(res);
                props.Add(prop0);
            }
            return(props);
        }