$metadata

This command returns the collection of all entity details.

(only XML format)

 
Limitation:

metadata uses ODATA syntax but IS NOT FULLY compatible with this protocol and some functionalities are not implemented in the current protocol.

 

$metadata

 

<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
    <edmx:DataServices  m:DataServiceVersion="1.0" m:MaxDataServiceVersion="3.0" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
        <Schema Namespace="bsl" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
        // ---for all Entities
            <EntityType Name="EntiyName">
         <Key>
                    <PropertyRef Name="WhsCode" />
                </Key>
                <Property Name="WhsCode" Type="Edm.String" Nullable="false" MaxLength="20" Unicode="true"  />
            </EntityType>
        // <-l Loop for all entities
                
        // Overview about all Entities
            <EntityContainer Name="bslEntities" m:IsDefaultEntityContainer="true" >
                <EntitySet Name="WareHouse" EntityType="bsl.WareHouse"/>
                <EntitySet Name="Item" EntityType="bsl.Item"/>
                <EntitySet Name="ItemWareHouse" EntityType="bsl.ItemWareHouse"/>
                <EntitySet Name="WareHouseStock" EntityType="bsl.WareHouseStock"/>
        // <--- loop for all other Entity
            </EntityContainer>
        </Schema>
    </edmx:DataServices>
</edmx:Edmx>

 

Note: Other formats or combinations are not supported.