AddCountryCodesRow Method (String, String, String, DateTime, String, DateTime)
Adds a RegionCodeDataSet..::.CountryCodesRow DataRow to the CountryCodesDataTable using the specified values.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Function AddCountryCodesRow ( _
Name As String, _
Code As String, _
Description As String, _
LastModified As DateTime, _
ModifiedBy As String, _
Created As DateTime _
) As RegionCodeDataSet..::.CountryCodesRow
'Usage
Dim instance As RegionCodeDataSet..::.CountryCodesDataTable
Dim Name As String
Dim Code As String
Dim Description As String
Dim LastModified As DateTime
Dim ModifiedBy As String
Dim Created As DateTime
Dim returnValue As RegionCodeDataSet..::.CountryCodesRow
returnValue = instance.AddCountryCodesRow(Name, _
Code, Description, LastModified, _
ModifiedBy, Created)
public RegionCodeDataSet..::.CountryCodesRow AddCountryCodesRow(
string Name,
string Code,
string Description,
DateTime LastModified,
string ModifiedBy,
DateTime Created
)
public:
RegionCodeDataSet..::.CountryCodesRow^ AddCountryCodesRow(
String^ Name,
String^ Code,
String^ Description,
DateTime LastModified,
String^ ModifiedBy,
DateTime Created
)
public function AddCountryCodesRow(
Name : String,
Code : String,
Description : String,
LastModified : DateTime,
ModifiedBy : String,
Created : DateTime
) : RegionCodeDataSet..::.CountryCodesRow
Parameters
- Name
Type: System..::.String
The name of the countrycode.
- Code
Type: System..::.String
Code for the country/region used by the Orders system
- Description
Type: System..::.String
The description
- LastModified
Type: System..::.DateTime
The DateTime the row was last modified.
- ModifiedBy
Type: System..::.String
The identity that last modified the row.
- Created
Type: System..::.DateTime
The local time when the row was created.
Return Value
Type: Microsoft.CommerceServer.Orders..::.RegionCodeDataSet..::.CountryCodesRow
A new RegionCodeDataSet..::.CountryCodesRow row.
Remarks
Adds a new RegionCodeDataSet..::.CountryCodesRow to the RegionCodeDataSet..::.CountryCodesDataTable. The RegionCodeDataSet object must be saved before these changes will be persisted to the database.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RegionCodeDataSet..::.CountryCodesDataTable Class