public static tchannel_ppoint CreateChannelPPointAccess(tchannel_ppoint post) { using (vEntities context = new vEntities()) { context.tchannel_ppoint.Add(post); context.SaveChanges(); } return(post); }
public static tchannel_ppoint UpdateChannelPPointAccess(tchannel_ppoint post) { using (vEntities context = new vEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return(post); }
public static tchannel_ppoint CreateChannelPPointAccess(tchannel_ppoint post) { using (vEntities context = new vEntities()) { context.tchannel_ppoint.Add(post); context.SaveChanges(); } return post; }
public static tchannel_ppoint UpdateChannelPPointAccess(tchannel_ppoint post) { return ChannelPPointRepository.UpdateChannelPPointAccess(post); }
public static tchannel_ppoint UpdateChannelPPointAccess(tchannel_ppoint post) { using (vEntities context = new vEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return post; }