Udostępnij za pośrednictwem


Server.SetDefaultInitFields Method

Specifies whether all the properties are fetched when objects are instantiated.

Remarks

The SetDefaultInitFields method has several overloads that give you option to set the default initialization fields for a specified type, and for specified properties of the type.

Overload List

Name Description
Server.SetDefaultInitFields (Boolean)
Specifies that all properties are fetched when objects are instantiated.
Server.SetDefaultInitFields (Type, Boolean)
Specifies all the properties are fetched when objects of the specified type are instantiated.
Server.SetDefaultInitFields (Type, String[])
Specifies the properties that are fetched when objects of the specified type are instantiated.
Server.SetDefaultInitFields (Type, StringCollection)
Specifies the properties that are fetched when objects of the specified type are instantiated.