Last active
July 4, 2016 20:39
-
-
Save FranLsz/6326e2939b008af1bb35d69ccf16f117 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue | |
$url = "http://pruebassp2" | |
$assemblyPath = "C:\Users\ericame\Documents\Visual Studio 2015\Projects\Modelos\Modelos\bin\Debug\Modelos.dll" | |
$lobSystem = "Alumnos" | |
$serviceContext = Get-SPServiceContext $url | |
$lobSystem = Get-SPBusinessDataCatalogMetadataObject -ServiceContext $serviceContext -BdcObjectType lobsystem -Name $lobSystem | |
Import-SPBusinessDataCatalogDotNetAssembly -LobSystem $lobSystem -Path $assemblyPath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment