C# Class Project_Marmelade.DataProductDevelopment

Afficher le fichier Open project: DMOe15a/ProjectMarmelade

Méthodes publiques

Свойство Type Description
conn System.Data.SqlClient.SqlConnection

Méthodes publiques

Méthode Description
CreateNewRecipe ( string name, bool approved, int primary, int secondary, int quality, List ingredients, List testers, string description ) : void
GetEmployeeByID ( int id ) : object[]
GetIngredients ( ) : List
GetMatches ( int Empid ) : List
GetRecipes ( ) : List
GetTaskDescription ( int id ) : object[]
GetTestResults ( ) : List
GetTesters ( ) : List
InsertTestData ( int Taste, int Texture, int Appearance, int Scent, int Total, string Comment, int Recipe_ID, int idEmployees, bool Complete ) : void
LoadRecipe ( ) : List

Private Methods

Méthode Description
CreateNewRecipe_create ( string name, string description, int quality ) : int
CreateNewRecipe_ingredient ( int ingredient, int recipeID ) : void
CreateNewRecipe_tester ( int tester, int recipeID ) : void

Method Details

CreateNewRecipe() public méthode

public CreateNewRecipe ( string name, bool approved, int primary, int secondary, int quality, List ingredients, List testers, string description ) : void
name string
approved bool
primary int
secondary int
quality int
ingredients List
testers List
description string
Résultat void

GetEmployeeByID() public méthode

public GetEmployeeByID ( int id ) : object[]
id int
Résultat object[]

GetIngredients() public méthode

public GetIngredients ( ) : List
Résultat List

GetMatches() public méthode

public GetMatches ( int Empid ) : List
Empid int
Résultat List

GetRecipes() public méthode

public GetRecipes ( ) : List
Résultat List

GetTaskDescription() public méthode

public GetTaskDescription ( int id ) : object[]
id int
Résultat object[]

GetTestResults() public méthode

public GetTestResults ( ) : List
Résultat List

GetTesters() public méthode

public GetTesters ( ) : List
Résultat List

InsertTestData() public méthode

public InsertTestData ( int Taste, int Texture, int Appearance, int Scent, int Total, string Comment, int Recipe_ID, int idEmployees, bool Complete ) : void
Taste int
Texture int
Appearance int
Scent int
Total int
Comment string
Recipe_ID int
idEmployees int
Complete bool
Résultat void

LoadRecipe() public méthode

public LoadRecipe ( ) : List
Résultat List

Property Details

conn public_oe property

public SqlConnection,System.Data.SqlClient conn
Résultat System.Data.SqlClient.SqlConnection