예제 #1
0
 public static void PrintInfo(ICrudable crudable)
 {
     crudable.Add();
     crudable.Update();
     crudable.Delete();
     crudable.Read();
     Console.WriteLine();
 }
예제 #2
0
 public static void DoDbOperation(ICrudable crud)
 {
     Console.WriteLine("Doing db operations");
     crud.Create();
     crud.Read();
     crud.Update();
     crud.Delete();
 }
예제 #3
0
 public static void DoDbOperation(ICrudable icrudable)
 {
     Console.WriteLine("In side DoDbOperation");
     icrudable.Create();
     icrudable.Read();
     icrudable.Delete();
     icrudable.Update();
 }
예제 #4
0
 public static void DoDbOpperation(ICrudable crudOp)
 {
     Console.WriteLine("Inside Db operation");
     crudOp.Create();
     crudOp.Read();
     crudOp.Update();
     crudOp.Delete();
 }