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

Search() public static méthode

Search the records from SmartReference table depending upon the list of parameters.
The current state of the connection is closed.
public static Search ( IEnumerable parameters ) : IEnumerable
parameters IEnumerable
Résultat IEnumerable
        public static IEnumerable<IInternalState> Search(IEnumerable<ISearchParameter> parameters)
        {
            if (parameters == null) throw new ArgumentNullException("parameters", @"SearchObject");

            return new AdfQuery()
                .Select()
                .From(SmartReferenceDescriber.Table)
                .BuildQuery(typeof (SmartReferenceDescriber), parameters)
                .RunSplit(DataSource);
        }