Kentico 9.0 API Reference
Kentico 9.0 API Reference
Namespaces
CMS.Base
BaseExtensions Class
BaseExtensions Methods
AsDataContainer Method
Batch(T) Method
Replace Method
ToArray(TFrom, TTo) Method
ToList(TFrom, TTo) Method
BaseExtensions
AsDataContainer Method
Converts a DataRow to IDataContainer. Returns null if the original data row is null.
Namespace:
CMS.Base
Assembly:
CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax
C#
Copy
public
static
IDataContainer
AsDataContainer
(
this
DataRow
dr
)
Parameters
dr
Type:
System.Data
DataRow
Data row
Return Value
Type:
IDataContainer
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DataRow
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
BaseExtensions Class
CMS.Base Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com