Exemplo n.º 1
0
        // Cosntructors

        /// <summary>
        /// Initializes a new instance of this class.
        /// </summary>
        /// <param name="entitySet">The entity set.</param>
        /// <param name="exception">The <see cref="Exception"/> property value.</param>
        public EntitySetActionCompletedEventArgs(EntitySetBase entitySet, Exception exception)
            : base(entitySet)
        {
            Exception = exception;
        }
Exemplo n.º 2
0
 internal static void ExecuteOnValidate(EntitySetBase target) => target.OnValidate();
Exemplo n.º 3
0
        // Constructors

        /// <summary>
        /// Initializes a new instance of this class.
        /// </summary>
        /// <param name="entitySet">The entity set.</param>
        public EntitySetEventArgs(EntitySetBase entitySet)
            : base(entitySet.Owner, entitySet.Field)
        {
            EntitySet = entitySet;
        }