Entity.Create - Méthode
Crée un type de contenu externe.
Espace de noms : Microsoft.SharePoint.BusinessData.Administration.Client
Assembly : Microsoft.SharePoint.BusinessData.Administration.Client (dans Microsoft.SharePoint.BusinessData.Administration.Client.dll)
Syntaxe
'Déclaration
Public Shared Function Create ( _
name As String, _
namespace As String, _
isCached As Boolean, _
entityVersion As Version, _
estimatedInstanceCount As UInteger, _
cacheUsage As CacheUsage, _
lobSystem As LobSystem, _
model As Model, _
metadataCatalog As AdministrationMetadataCatalog _
) As Entity
'Utilisation
Dim name As String
Dim namespace As String
Dim isCached As Boolean
Dim entityVersion As Version
Dim estimatedInstanceCount As UInteger
Dim cacheUsage As CacheUsage
Dim lobSystem As LobSystem
Dim model As Model
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As Entity
returnValue = Entity.Create(name, namespace, _
isCached, entityVersion, estimatedInstanceCount, _
cacheUsage, lobSystem, model, metadataCatalog)
public static Entity Create(
string name,
string namespace,
bool isCached,
Version entityVersion,
uint estimatedInstanceCount,
CacheUsage cacheUsage,
LobSystem lobSystem,
Model model,
AdministrationMetadataCatalog metadataCatalog
)
Paramètres
name
Type : System.StringNom du type de contenu externe.
namespace
Type : System.StringL'espace de noms qui contient le type de contenu externe.
isCached
Type : System.Booleantrue si l'instance est mis en cache ; dans le cas contraire, false.
entityVersion
Type : System.VersionLa version de type de contenu externe.
estimatedInstanceCount
Type : System.UInt32Une estimation du nombre d'instances.
- cacheUsage
Type : Microsoft.BusinessData.Runtime.CacheUsage
lobSystem
Type : Microsoft.SharePoint.BusinessData.Administration.Client.LobSystemL'instance du système externe.
model
Type : Microsoft.SharePoint.BusinessData.Administration.Client.ModelLe nom du modèle.
metadataCatalog
Type : Microsoft.SharePoint.BusinessData.Administration.Client.AdministrationMetadataCatalogLe magasin de métadonnées Service Business Data Connectivity (BDC).
Valeur renvoyée
Type : Microsoft.SharePoint.BusinessData.Administration.Client.Entity
Le type de contenu externe est créé.
Voir aussi
Référence
Microsoft.SharePoint.BusinessData.Administration.Client - Espace de noms