Adf.Data.SmartReferences.SmartReferenceGateway.GetByType C# (CSharp) 메소드

GetByType() 공개 정적인 메소드

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.
리턴 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);
        }