Skip to content

tomaskristof/event-planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

event-planner

FI MUNI PV247

New MDF file:

Server Explorer > Data Connections -|- Add Connection Data source: Microsoft SQL Server Database File (SqlClient) Database file name - Browse -> PATH_TO_WEB_PROJECT/App_Data/EventPlannerDB.mdf Use Windows Authentication OK

In case of not created db in mdf file, type "update-database" in Package Manager Console.

Event planner ERD

ERD

Coding rules

using System;

public class CodingRules
{
    // constants are written using uppercase and underscore as a separator
    public const string NAME_CONSTANT = "Someone"; 

    // private members of the class are prefixed with an uderscore
    private string _field;    

    // public properties are written using UpperCamelCase
    public int MyProperty { get; set; }    

    // all the method names use UpperCamelCase
    public string Hello(string name)
    {
        // always use blocks, even for one line
        if (name == null)
        {
            throw new ArgumentNullException();
        }

        // variables use lowerCamelCase
        var myName = name;

        return myName;
    }
}

About

FI MUNI PV247

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages