예제 #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;
        }
예제 #2
0
 internal static void ExecuteOnValidate(EntitySetBase target) => target.OnValidate();
예제 #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;
        }