示例#1
0
        void observable_ItemChanged(object sender, PropertyChangedEventArgs e)
        {
            EntityChangedEventArgs <TEntity> args = new EntityChangedEventArgs <TEntity>();

            args.Item = (TEntity)sender;
            ItemChanged(this, args);
        }
示例#2
0
 void employees_ItemChanged(object sender, EntityChangedEventArgs <T> args)
 {
     service.Update(args.Item.InnerModel.Id);
 }