public Channel Insert (Channel channel) { using (var conn=OpenConnection()) { channel.Id=conn.Query<int>(""+SelectIdentityCommand,channel).Single(); } return channel; }
public int Update (Channel channel) { throw new NotImplementedException (); }