/// <summary> /// Create the Class property - DBColumn attribute array for given type. /// </summary> /// <param name="_type"></param> /// <returns></returns> private static PropertyInfo[] GetObjProperties(Type _type) { string objKey = typeof(T).FullName; PropertyInfo[] listOfProperties; var cacheData = ApplicationStateManager.GetItemFromInMemoryCache <PropertyInfo[]>(objKey); if (cacheData == null) { listOfProperties = GetFilteredPropertiesByAttribute(_type); ApplicationStateManager.AddItemToInMemoryCache(listOfProperties, objKey); } else { listOfProperties = cacheData; } return(listOfProperties); }