Why is an ExpandoObject breaking code that otherwise works just fine?

前端 未结 7 946
感动是毒
感动是毒 2021-02-01 02:12

Here\'s the setup: I have an Open Source project called Massive and I\'m slinging around dynamics as a way of creating SQL on the fly, and dynamic result sets on the fly.

<
7条回答
  •  别那么骄傲
    2021-02-01 02:47

    You don't need to use the Factory to create the command. Just use conn.CreateCommand(); it will be the correct type and the connection will already be set.

提交回复
热议问题