Exemple #1
0
 partial void Deletedevice_endpoints_t(device_endpoints_t instance);
Exemple #2
0
 partial void Updatedevice_endpoints_t(device_endpoints_t instance);
Exemple #3
0
 partial void Insertdevice_endpoints_t(device_endpoints_t instance);
Exemple #4
0
		private void detach_device_endpoints_ts(device_endpoints_t entity)
		{
			this.SendPropertyChanging();
			entity.tables_t = null;
		}
Exemple #5
0
		private void attach_device_endpoints_ts(device_endpoints_t entity)
		{
			this.SendPropertyChanging();
			entity.devices_t = this;
		}
Exemple #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();
     }
 }