Adf.Data.SmartReferences.SmartReferenceGateway.GetByType C# (CSharp) Méthode

GetByType() public static méthode

Get all data from SmartReference table by the matching column of specified Type and return the array of IInternalState as result.
The current state of the connection is closed.
public static GetByType ( string type ) : IEnumerable
type string Match for the Type within SmartReference table.
Résultat IEnumerable
        public static IEnumerable<IInternalState> GetByType(string type)
        {
            return new AdfQuery()
                .Select()
                .From(SmartReferenceDescriber.Table)
                .Where(SmartReferenceDescriber.Type).IsEqual(type)
                .OrderBy(SmartReferenceDescriber.Description).Ascending()
                .RunSplit(DataSource);
        }