示例#1
0
        static void Main()
        {
            IDefaultRepository test = new ExampleRepository();

            int id = 1;

            test.Remove(id);

            ExampleEntitie obj = new ExampleEntitie {
                Id = 1, Description = "Example"
            };

            test.Insert(obj);

            List <ExampleEntitie> result = test.Get();

            ExampleEntitie entitie = test.Get(obj.Id);

            test.Update(obj);
        }
示例#2
0
 public void Update(ExampleEntitie obj)
 {
     //Update object obj
 }
示例#3
0
 public void Insert(ExampleEntitie obj)
 {
     //Insert an object obj
 }