问题:哪个数据传输对象由哪个实体返回?
The problem: which data transfer object is returned by which entity?
此问题的征兆就是:一个作为参数发送或作为响应返回的复杂数据对象丢失了某些元素。
The symptom of this problem is that a complex data object that is sent as a parameter or returned as a response may be missing certain elements.
更为重要的问题是计算如何确切地返回到与数据状态相符的流逻辑的相关部分。
The far more important problem is figuring out how to get back to exactly the relevant part of the flow logic that corresponds to the data states.
这样可能是很有用的,但是也可能会引发问题,因为AcceptEx必须等全部客户端数据都收到了才返回。
This can be very useful, but it can also lead to problems since the AcceptEx call will not return until data is received, even if a connection has been established.
如果函数没有静态数据,那么也就不存在返回静态数据的引用的问题。
There is no question of returning a reference to static data if the function doesn't have one.
在这种情况下,我们的问题不在于是否能够从数据库获取这些记录,因为我们想要测试的是我们是否能够对返回的记录进行排序。
In this case the fact that we could grab the records from the database really doesn't matter, since what we would be testing is our ability to sort the records coming back.
写操作在本地登记后即返回,这样数据库崩溃或者出现性能问题能有效跟网站相应时间解耦。
Write operations are acknowledged after being journalled locally, so that disruptions in database availability or performance are decoupled from website response times.
解决此问题的一种方法是使用转型函数将查询的返回数据转型为VARCHAR。
A way to work around this is to cast the return of the query to a VARCHAR using a cast function.
要说明这个问题,请想象一个Web服务,它返回一个链表数据结构,我们可以使用SOAPSection5Encoding规则将次结构序列化为XML。
To illustrate the problem, imagine a Web service that returns a linked list data structure which we serialize to XML using the SOAP Section 5 Encoding rules.
当您单击addQuestion时,程序会将记录添加至数据库并且再次返回空白表单,以便您添加另一个问题。
When you click add question, the program adds the record to the database and returns the form again to you with the values blanked out so that you can add another question.
把这个问题发送到数据库并返回新问题的id。
Send the question to the database and get back the ID for the new question.
它还意味着该程序将因为在大多数时间问题将会被停止以等待数据返回而无法有效地执行指令。
It also means the program will not be effectively executing instruction since most of time the problem will be stalled waiting for data return.
当然,如果MDB用于返回整数不同的数据库,这可能成为一个问题。然而,稍许的性能改善可能并不值得冒这个风险。
Of course this may become an issue if MDB would be used in conjunction with a database that does return integers differently.
当然,如果MDB用于返回整数不同的数据库,这可能成为一个问题。然而,稍许的性能改善可能并不值得冒这个风险。
Of course this may become an issue if MDB would be used in conjunction with a database that does return integers differently.
应用推荐