Click here to Skip to main content
15,896,335 members
Articles / Web Development / HTML

Signum Framework Tutorials Part 1 – Southwind Entities

Rate me:
Please Sign up or sign in to vote.
4.50/5 (12 votes)
14 Nov 2012LGPL315 min read 41.5K   2K   52  
Tutorial focused in writing the entities using Signum Framework, a Win/Web LINQ-enabled framework for writing data-centric applications.
@using Southwind.Web.Controllers
<!doctype html>
<html>
<head>
    <title>@ViewBag.Title</title>
    @Html.ScriptCss(
       "~/signum/content/reset.css",
       "~/signum/content/SF_Lines.css",
       "~/signum/content/SF_NormalPage.css",
       "~/signum/content/SF_Notify.css",
       "~/signum/content/SF_Search.css",
       "~/content/smoothness/jquery-ui-1.8.14.css",
       "~/content/site.css")
    @Html.ScriptsJs("~/scripts/jquery-1.6.2.min.js", "~/scripts/jquery-ui-1.8.14.min.js")
    @Html.ScriptsJs("~/signum/resources/" + System.Globalization.CultureInfo.CurrentCulture.Name + ".js")
    @Html.ScriptsJs("~/signum/calendarResources/" + System.Globalization.CultureInfo.CurrentCulture.Name + ".js")
    @Html.ScriptsJs("~/signum/scripts/SF_Utils.js", "~/signum/scripts/SF_jquery-ui-datepicker-extension.js", "~/scripts/newcontent.js")
    @if (IsSectionDefined("head"))
    {
        @RenderSection("head")
    }
</head>
<body>
    <div id="wrap">
        <header id="header">
            <div id="title">
                <h1>@(Html.ActionLink("Southwind Application", (HomeController h)=>h.Index())) </h1>
            </div>
        </header>
        <div id="main">
            <div id="menu">
                <div class="box menu">
                    @{ Html.RenderPartial("Menu", ViewData["current"] = Context.Request.RawUrl);}
                </div>
            </div>
            <div id="content">
                @RenderBody()
            </div>
            <div class="clearall">
            </div>
        </div>
        <footer id="footer">
            <span id="powered">Powered by <a href="http://www.signumframework.com">Signum Framework</a></span>
        </footer>
    </div>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Software Developer (Senior) Signum Software
Spain Spain
I'm Computer Scientist, one of the founders of Signum Software, and the lead developer behind Signum Framework.

www.signumframework.com

I love programming in C#, Linq, Compilers, Algorithms, Functional Programming, Computer Graphics, Maths...

Comments and Discussions