Exemple #1
0
        protected DataManyInsertingEventArgs OnManyInserting(string name, object data, string scope)
        {
            var args = new DataManyInsertingEventArgs(name, GetDataDictionaries(data), scope);

            this.OnManyInserting(args);
            return(args);
        }
Exemple #2
0
        protected DataManyInsertingEventArgs OnManyInserting(object data, string scope)
        {
            var args = new DataManyInsertingEventArgs(this.Name, DataDictionary <TEntity> .GetDataDictionaries(data), scope);

            this.OnManyInserting(args);
            return(args);
        }
Exemple #3
0
        protected virtual void OnManyInserting(DataManyInsertingEventArgs args)
        {
            var e = this.ManyInserting;

            if (e != null)
            {
                e(this, args);
            }
        }