SqlSchemaModel.OnCustomDataAdded Method
Override this method to handle addition of SqlModelCapability data.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Protected Overrides Sub OnCustomDataAdded ( _
customData As CustomSchemaData _
)
protected override void OnCustomDataAdded(
CustomSchemaData customData
)
protected:
virtual void OnCustomDataAdded(
CustomSchemaData^ customData
) override
abstract OnCustomDataAdded :
customData:CustomSchemaData -> unit
override OnCustomDataAdded :
customData:CustomSchemaData -> unit
protected override function OnCustomDataAdded(
customData : CustomSchemaData
)
Parameters
- customData
Type: Microsoft.Data.Schema.SchemaModel.CustomSchemaData
Custom data that is added.
Remarks
When you add a reference, this method makes elements that are marked with GloballyScoped or AliasedToDbo annotations that can be accessed without the database name part or server name part.
.NET Framework Security
- 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.