不要尝试在模式中使用匿名类型。
C#团队使得匿名类型稳定下来。
Taking the direct route, the C# team made anonymous types immutable.
这是匿名类型的主要问题。
匿名类型有什么问题?
还是必须对匿名类型进行命名。
什么是匿名类型?
当映射必须命名匿名类型时,它们可能会引起问题;
they may cause problems when a mapping must name anonymous types;
如何重用数据转换成一个匿名类型宣言吗?
一种复合型和匿名类型之间的区别是什么?
What's the difference between a compound type and an anonymous type?
此查询在编写时本来可以不投影到第一个匿名类型。
This query could have been written without projecting to the first anonymous type.
将不同属性指定为键属性的匿名类型实例不是同一类型的实例。
GetHashCode for an anonymous type is based on the key properties of the type.
如果这样,那么在该语言中,类型可能不再是匿名的。
If so, then within that language, types likely can no longer be anonymous.
而且,如果类型是匿名的,那么就返回一个特定于实现的惟一名。
Also, when the type is anonymous, an implementation-specific unique name is returned to you.
所有类型都是匿名的。
以下是顶级匿名复杂类型定义,与WebSphereInterchangeServer 4 .x类似。
This is a top level anonymous complex type definition, similar to WebSphere Interchange Server 4.x.
匿名xml类型是xsd:element中嵌入的类型。
An anonymous XML type is one which is embedded within an XSD: element.
如下面的例子所示,一个匿名方法可以接受任何类型的参数。
As shown in the following example, an anonymous method can accept arguments of any type.
如下面的例子所示,一个匿名方法可以接受任何类型的参数。
As shown in the following example, an anonymous method can accept arguments of any type.
应用推荐