示例#1
0
 private static void AddTest(ColorManager colorManager, BrandManager brandManager)
 {
     brandManager.Add(new Brand {
         BrandName = "Honda"
     });
     colorManager.Add(new Color {
         ColorName = "Grey"
     });
     colorManager.Deleted(new Color {
         ColorId = 1002
     });
     brandManager.Deleted(new Brand {
         BrandId = 1002
     });
     brandManager.Deleted(new Brand {
         BrandId = 1003
     });
     brandManager.Update(new Brand {
         BrandId = 1004
     });
 }