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

Save() public static method

Saved the specified data of IInternalState into database.
The current state of the connection is closed.
public static Save ( DataSources datasource, IAdfQuery query, IInternalState state ) : bool
datasource Adf.Core.Data.DataSources the datasource to run the query against
query IAdfQuery The that defines the datasource name and query statement.
state IInternalState The data of that needs to be saved.
return bool
        public static bool Save(DataSources datasource, IAdfQuery query, IInternalState state)
        {
            using (new TracingScope())
            {
                return query != null && state != null && GetHandler(datasource).Save(query, state);
            }
        }