예제 #1
0
        /// <summary>
        /// This function is used to query the data source for records.
        /// </summary>
        /// <param name="alias">The Alias of the requested entity.</param>
        /// <returns>EntityCollection<EndPointAliasEntity></returns>
        public static EntityCollection <EndPointAliasEntity> Select(int section, System.String alias)
        {
            EntityCollection <EndPointAliasEntity> endpoints = new EntityCollection <EndPointAliasEntity>();
            DataAccessAdapter ds = new DataAccessAdapter();

            ds.FetchEntityCollection(endpoints, Buckets.GetForPK(section, alias));
            return(endpoints);
        }