Exemplo n.º 1
0
 partial void Deletedevice_endpoints_t(device_endpoints_t instance);
Exemplo n.º 2
0
 partial void Updatedevice_endpoints_t(device_endpoints_t instance);
Exemplo n.º 3
0
 partial void Insertdevice_endpoints_t(device_endpoints_t instance);
Exemplo n.º 4
0
		private void detach_device_endpoints_ts(device_endpoints_t entity)
		{
			this.SendPropertyChanging();
			entity.tables_t = null;
		}
Exemplo n.º 5
0
		private void attach_device_endpoints_ts(device_endpoints_t entity)
		{
			this.SendPropertyChanging();
			entity.devices_t = this;
		}
Exemplo n.º 6
0
 public void InsertNewEndPoint(int deviceId, int index)
 {
     var db = new dbDataContext();
     lock (db)
     {
         Table<device_endpoints_t> deviceEndpointsTs = db.GetTable<device_endpoints_t>();
         var endpoint = new device_endpoints_t
         {
             device_id = deviceId,
             endpoint_index = index
     //                    playstation_id = playstationId
         };
         deviceEndpointsTs.InsertOnSubmit(endpoint);
         db.SubmitChanges();
     }
 }