Source/NFX/DataAccess/Distributed/Parcel.cs
/// <summary>
/// Performs validation of the data. Does not throw but populates validation exceptions if data is not valid.
/// Bank context may be used to run sub-queries during consistency/crosschecks
/// May call this method on parcels in either Creating or Modifying states
/// </summary>
Performs validation of the data. Does not throw but populates validation exceptions if data is not valid.
Bank context may be used to run sub-queries during consistency/crosschecks
May call this method on parcels in either Creating or Modifying states
Performs validation of the data . Does not throw but populates validation exceptions if data is not valid . Bank context may be used to run sub - queries during consistency / crosschecks May call this method on parcels in either Creating or Modifying states
public void Validate(IBank bank)
            {
                if (m_State!= ParcelState.Creating && m_State!=ParcelState.Modifying)
                 throw new DistributedDataAccessException(StringConsts.DISTRIBUTED_DATA_PARCEL_INVALID_OPERATION_ERROR.Args("Validate", GetType().FullName, m_State) );
                m_ValidationExceptions = new List<Exception>();
                DoValidate(bank);
            }
public void Validate ( IBank bank ) { if ( m_State != ParcelState . Creating && m_State != ParcelState . Modifying ) throw new DistributedDataAccessException ( StringConsts . DISTRIBUTED_DATA_PARCEL_INVALID_OPERATION_ERROR . Args ( " " , GetType ( ) . FullName , m_State ) ) ; m_ValidationExceptions = new List < Exception > ( ) ; DoValidate ( bank ) ; }
Performs validation of the data.
Performs validation of the data .
bank
IBank