SALES: 1-800-867-1380

CloudTableClient.CreateTablesFromModel Method

Updated: April 24, 2013

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Creates tables from a data model defined in code.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

Dim serviceContextType As Type
Dim baseAddress As String
Dim credentials As StorageCredentials

CloudTableClient.CreateTablesFromModel(serviceContextType, baseAddress, credentials)

public static void CreateTablesFromModel (
	Type serviceContextType,
	string baseAddress,
	StorageCredentials credentials



Type: System.Type

The type of service context.


Type: System.String

The Table service endpoint to use to create the client.


Type: Microsoft.WindowsAzure.StorageCredentials

The account credentials.

It's now recommended that you use the CreateTable or CreateTableIfNotExist method to create a table, rather than CreateTablesFromModel. It is not necessary to create a custom class that is derived from TableServiceContext in order to work with Table service data.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012


Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft