Exemplo n.º 1
0
 public Guid Insert(StreamServerList entityToInsert)
 {
     using (Conn)
     {
         return(Conn.Insert <Guid>(entityToInsert));
     }
 }
Exemplo n.º 2
0
 public int Delete(StreamServerList entityToInsert)
 {
     using (Conn)
     {
         return(Conn.Delete(entityToInsert));
     }
 }
Exemplo n.º 3
0
        public void InsertTes()
        {
            StreamServerListRepository repo       = new StreamServerListRepository();
            StreamServerList           ServerList = new StreamServerList();

            ServerList.DeviceID       = repo.GetGuid();
            ServerList.StreamServerIP = "192.0.0.66";

            Guid result = repo.Insert(ServerList);
        }