Downloads V03.05.00

Rating: No reviews yet
Downloads: 19
Released: Apr 6, 2008
Updated: Apr 6, 2008 by donaldpeter
Dev status: -not yet defined by owner-

Recommended Download

Source Code Downloads (Source) V03-05-00
source code, 461K, uploaded Apr 6, 2008 - 10 downloads

Other Available Downloads

Source Code Downloads (Module) V03-05-00
source code, 71K, uploaded Apr 6, 2008 - 9 downloads

Release Notes

Downloads V03.05.00 used the new "LINQ to SQL" design!
Because .NET Framework 3.5 must installed on the Workstation/Server.
The Problem wit "LINQ to SQL" and the design of DotNetNuke ({databaseOwner} and {objectQualifier}) i have solved with
an external XML-Mapping (Mapping.xml)
Example:

private SQLContext NewContext()
{
// (Resources.Mapping is the embeded File of Mapping.xml)
var lMappingXml = string.Format(Resources.Mapping, Owner, Qualifier);

var lMappingSource = XmlMappingSource.FromXml(lMappingXml);

return new SQLContext(ConnectionString, lMappingSource);
}

public override DownloadsSettings GetDownloadsSettings(int ModuleId)
{
var lCtx = NewContext();

return (from t in lCtx.DownloadsSettings
where t.ModuleID == ModuleId
select t).Single();
}

Reviews for this release

No reviews yet for this release.