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

New() public static method

Create a new data state of IInternalState to insert data into database.
The current state of the connection is closed.
public static New ( 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 New(DataSources datasource, IAdfQuery query)
        {
            using (new TracingScope())
            {
                return query == null ? NullInternalState.Null : GetHandler(datasource).New(query);
            }
        }