IdeaBlade.Core Assembly > IdeaBlade.Core Namespace : TypeWrapper Class |
'Declaration
<DataContractAttribute()> Public Class TypeWrapper
'Usage
Dim instance As TypeWrapper
[DataContract()] public class TypeWrapper
The TypeWrapper also supplies automatic type "mapping" between Silverlight and .NET. This allows the assembly-qualified type names to differ between the different environments: for example the type name of an Entity is "IdeaBlade.EntityModel.Entity, IdeaBlade.EntityModel" in .NET, while it's "IdeaBlade.EntityModel.Entity, IdeaBlade.EntityModel.SL" in Silverlight. This mapping applies to standard .NET types too, entities in your models, and to other custom types transmitted across tiers. For the entities in your model, type mapping allows you to place your "Customer" entity, for example, in assemblies having different names on client and server, e.g., "MyModel.Customer, DomainModel.SL" vs. "MyModel.Customer, MyWebApp". If the type cannot be resolved an explanatory exception will be thrown.
System.Object
IdeaBlade.Core.TypeWrapper
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2