src/Misc/EFTools/EntityDesignEntityDesigner/CustomCode/Utils/ModelUtils.cs
/// <summary>
///     Returns the name of Current Active Tx on that Store, otherwise return null
/// </summary>
/// <param name="store"></param>
/// <returns></returns>
Returns the name of Current Active Tx on that Store, otherwise return null
Returns the name of Current Active Tx on that Store otherwise return null
internal static Transaction GetCurrentTx(Store store)
        {
            Transaction tx = null;
            if ((store != null)
                && (store.TransactionManager != null))
            {
                tx = store.TransactionManager.CurrentTransaction;
            }
            return tx;
        }
internal static Transaction GetCurrentTx ( Store store ) { Transaction tx = null ; if ( ( store != null ) && ( store . TransactionManager != null ) ) { tx = store . TransactionManager . CurrentTransaction ; } return tx ; }
Returns the name of Current Active Tx on that Store, otherwise return null
Returns the name of Current Active Tx on that Store otherwise return null
None
store
Store
None