Adf.Core.Query.QueryManager.Run C# (CSharp) Method

Run() public static method

Executes a specified IAdfQuery statement and returns the affected row.
The current state of the connection is closed.
public static Run ( DataSources datasource, IAdfQuery query ) : IInternalState
datasource Adf.Core.Data.DataSources
query IAdfQuery The that defines the datasource name and query statement.
return IInternalState
        public static IInternalState Run(DataSources datasource, IAdfQuery query)
        {
            using (new TracingScope())
            {
                return query == null ? NullInternalState.Null : GetHandler(datasource).Run(query);
            }
        }