Gen SQL statement from c# class or object