public static tppoint UpdatePPoint(tppoint post) { using (vooEntities context = new vooEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return post; }
public static channel UpdateChannel(channel post) { using (vooEntities context = new vooEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return(post); }
public static tchannel_ppoint UpdateChannelPPointAccess(tchannel_ppoint post) { using (vooEntities context = new vooEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return(post); }
public static tdevicechannelaccess UpdateDeviceChannelAccess(tdevicechannelaccess post) { using (vooEntities context = new vooEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return(post); }
public static tencoderdevice UpdateEncoderDevice(tencoderdevice post) { using (vooEntities context = new vooEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return post; }
public static channel UpdateChannel(channel post) { using (vooEntities context = new vooEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return post; }
public static tppointstatu UpdatePPointStatus(tppointstatu post) { using (vooEntities context = new vooEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return(post); }
public static tencoderdevice UpdateEncoderDevice(tencoderdevice post) { using (vooEntities context = new vooEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return(post); }
public static tdevicechannelaccess UpdateDeviceChannelAccess(tdevicechannelaccess post) { using (vooEntities context = new vooEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return post; }