src/Misc/EFTools/EntityDesignEntityDesigner/CustomCode/Utils/ModelUtils.cs
/// <summary>
///     Returns true if the store is serializing, false otherwise
/// </summary>
/// <param name="store"></param>
/// <returns></returns>
Returns true if the store is serializing, false otherwise
Returns true if the store is serializing false otherwise
internal static bool IsSerializing(Store store)
        {
            var serializing = false;
            if ((store != null)
                && (store.TransactionManager != null)
                && (store.TransactionManager.CurrentTransaction != null))
            {
                serializing = store.TransactionManager.CurrentTransaction.IsSerializing;
            }
            return serializing;
        }
internal static bool IsSerializing ( Store store ) { var serializing = false ; if ( ( store != null ) && ( store . TransactionManager != null ) && ( store . TransactionManager . CurrentTransaction != null ) ) { serializing = store . TransactionManager . CurrentTransaction . IsSerializing ; } return serializing ; }
Returns true if the store is serializing, false otherwise
Returns true if the store is serializing false otherwise
None
store
Store
None