EduHub.Data
1.59.12
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EduHub.Data --version 1.59.12
NuGet\Install-Package EduHub.Data -Version 1.59.12
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EduHub.Data" Version="1.59.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EduHub.Data --version 1.59.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EduHub.Data, 1.59.12"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EduHub.Data as a Cake Addin #addin nuget:?package=EduHub.Data&version=1.59.12 // Install EduHub.Data as a Cake Tool #tool nuget:?package=EduHub.Data&version=1.59.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
eduHub Data
A .NET (C#, Visual Basic.NET, etc) strongly-typed object model which provides in-memory, lazy-loading of eduHub CSV Data Sets.
on NuGet
Install-Package EduHub.Data
USAGE
Simple Query (C#)
All active students
// Create context
var Context = new EduHubContext();
// Build using query syntax
var activeStudents = (
from st in Context.ST
where st.STATUS == "ACTV"
select new
{
StudentCode = st.STKEY,
Name = $"{st.SURNAME}, {st.FIRST_NAME}",
HomeGroup = st.HOME_GROUP,
YearLevel = st.SCHOOL_YEAR
});
Navigation Properties (C#)
Data set relationships can be navigated with additional data sets automatically loaded when needed
// Create Context
var Context = new EduHubContext();
// Build using query syntax
// ST.FAMILY_DF and DF.HOMEKEY_UM navigation properties used
var activeStudentTowns = (
from st in Context.ST
let family = st.FAMILY_DF
let home = family.HOMEKEY_UM
where st.STATUS == "ACTV"
orderby st.SCHOOL_YEAR, st.HOME_GROUP
select new
{
StudentCode = st.STKEY,
HomeGroup = st.HOME_GROUP,
YearLevel = st.SCHOOL_YEAR,
Town = home.ADDRESS03,
PostCode = home.POSTCODE
});
PowerShell Example
Download the latest release for PowerShell
Add-Type -Path "EduHub.Data.dll";
$eduHubContext = New-Object EduHub.Data.EduHubContext;
$studentAddresses = $eduHubContext.ST `
| Where-Object { $_.STATUS -eq "ACTV" } `
| Select-Object -Property `
STKEY,
SURNAME,
FIRST_NAME,
HOME_GROUP,
SCHOOL_YEAR,
@{ Name = "BILLINGTITLE"; Expression = { $_.FAMILY_DF.BILLINGTITLE } },
@{ Name = "ADDRESS01"; Expression = { $_.FAMILY_DF.BILLINGKEY_UM.ADDRESS01 } },
@{ Name = "ADDRESS02"; Expression = { $_.FAMILY_DF.BILLINGKEY_UM.ADDRESS02 } },
@{ Name = "ADDRESS03"; Expression = { $_.FAMILY_DF.BILLINGKEY_UM.ADDRESS03 } },
@{ Name = "STATE"; Expression = { $_.FAMILY_DF.BILLINGKEY_UM.STATE } },
@{ Name = "COUNTRY"; Expression = { $_.FAMILY_DF.BILLINGKEY_UM.COUNTRY_KGT.DESCRIPTION } };
$studentAddresses | Export-Csv StudentAddresses.csv -NoTypeInformation
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.70.21 | 161 | 8/15/2024 |
1.64.19 | 646 | 7/1/2021 |
1.60.17 | 862 | 3/7/2019 |
1.60.16 | 719 | 2/9/2019 |
1.59.12 | 1,058 | 6/22/2018 |
1.59.11 | 1,054 | 12/19/2017 |
1.58.10 | 989 | 5/26/2017 |
0.9.8 | 1,030 | 12/1/2016 |
0.9.7-rc1 | 948 | 6/16/2016 |
0.9.6 | 1,317 | 1/18/2016 |
0.9.5 | 1,026 | 1/11/2016 |
0.9.2 | 994 | 12/21/2015 |
0.9.1-rc1 | 923 | 12/10/2015 |
0.9.0 | 1,496 | 11/25/2015 |
0.8.0 | 1,323 | 10/22/2015 |
0.7.5 | 1,554 | 10/1/2015 |
0.7.3 | 1,498 | 8/20/2015 |
0.7.2 | 1,458 | 8/18/2015 |
0.7.1 | 1,814 | 8/15/2015 |
0.7.0 | 1,518 | 8/14/2015 |