Creates an attribute mapping for the specified property.

Namespace: Simol
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
public static AttributeMapping Create(
	string propertyName,
	Type propertyType
)
Visual Basic
Public Shared Function Create ( _
	propertyName As String, _
	propertyType As Type _
) As AttributeMapping
Visual C++
public:
static AttributeMapping^ Create(
	String^ propertyName, 
	Type^ propertyType
)

Parameters

propertyName
Type: System..::..String
Name of the property.
propertyType
Type: System..::..Type
Type of the property.

Return Value

Remarks

By default this method creates a mapping that assumes the property and SimpleDB attribute names are the same. If this is not the case you must set AttributeName to the desired value on the returned mapping.

See Also