Thursday, October 21, 2010

Data Access Prototype Description

Hexsoft.Knots.DataAccess.PointData
Represent the point data access.
Methods:
  • Add(System.Guid,System.Int32,System.Int32,System.Int32,System.Int32)
    Add the point.
    Parameters:
    • id: The id of the point.
    • line: The line of the point.
    • x: The x of the point.
    • y: The y of the point.
    • z: The z of the point.
  • Set(System.Guid,System.Int32,System.Int32,System.Int32,System.Int32)
    Set the point.
    Parameters:
    • id: The id of the point.
    • line: The line of the point.
    • x: The x of the point.
    • y: The y of the point.
    • z: The z of the point.
  • Remove(System.Guid)
    Remove the point.
    Parameters:
    • id: The id of the point.
  • GetById(System.Guid)
    Get the point by id.
    Parameters:
    • id: The id of the point.
    Returns:
    • The point entity.
  • GetAll()
    Get all the points.
    Returns:
    • The Point entities.
Hexsoft.Knots.DataAccess.UserData
Represent the user data access.
Methods:
  • Add(System.Guid,System.String,System.String,System.String)
    Add the user.
    Parameters:
    • id: The id of the user.
    • name: The name of the user.
    • email: The email of the user.
    • password: The password of the user.
  • Set(System.Guid,System.String,System.String,System.String)
    Set the user.
    Parameters:
    • id: The id of the user.
    • name: The name of the user.
    • email: The email of the user.
    • password: The password of the user.
  • Remove(System.Guid)
    Remove the user.
    Parameters:
    • id: The id of the user.
  • GetById(System.Guid)
    Get the user by id.
    Parameters:
    • id: The id of the user.
    Returns:
    • The user entity.
  • GetAll()
    Get all the users.
    Returns:
    • The User entities.
Hexsoft.Knots.DataAccess.StepData
Represent the step data access.
Methods:
  • Add(System.Guid,System.String,System.String,System.Guid)
    Add the step.
    Parameters:
    • id: The id of the step.
    • type: The type of the step.
    • description: The description of the step.
    • knot: The knot of the step.
  • Set(System.Guid,System.String,System.String,System.Guid)
    Set the step.
    Parameters:
    • id: The id of the step.
    • type: The type of the step.
    • description: The description of the step.
    • knot: The knot of the step.
  • Remove(System.Guid)
    Remove the step.
    Parameters:
    • id: The id of the step.
  • RemoveByKnot(System.Guid)
    Remove the step by knot.
    Parameters:
    • knot: The knot of the step.
  • GetById(System.Guid)
    Get the step by id.
    Parameters:
    • id: The id of the step.
    Returns:
    • The step entity.
  • GetAll()
    Get all the steps.
    Returns:
    • The Step entities.
  • GetByKnot(System.Guid)
    Get the steps by knot.
    Parameters:
    • knot: The knot of the step.
    Returns:
    • The step entities.
Hexsoft.Knots.DataAccess.KnotData
Represent the knot data access.
Methods:
  • Add(System.Guid,System.String,System.String,System.Guid)
    Add the knot.
    Parameters:
    • id: The id of the knot.
    • name: The name of the knot.
    • description: The description of the knot.
    • user: The user of the knot.
  • Set(System.Guid,System.String,System.String,System.Guid)
    Set the knot.
    Parameters:
    • id: The id of the knot.
    • name: The name of the knot.
    • description: The description of the knot.
    • user: The user of the knot.
  • Remove(System.Guid)
    Remove the knot.
    Parameters:
    • id: The id of the knot.
  • RemoveByUser(System.Guid)
    Remove the knot by user.
    Parameters:
    • user: The user of the knot.
  • GetById(System.Guid)
    Get the knot by id.
    Parameters:
    • id: The id of the knot.
    Returns:
    • The knot entity.
  • GetAll()
    Get all the knots.
    Returns:
    • The Knot entities.
  • GetByUser(System.Guid)
    Get the knots by user.
    Parameters:
    • user: The user of the knot.
    Returns:
    • The knot entities.
Hexsoft.Knots.DataAccess.ClassificationData
Represent the classification data access.
Methods:
  • Add(System.Guid,System.Guid)
    Add the classification.
    Parameters:
    • knot: The knot of the classification.
    • category: The category of the classification.
  • Remove(System.Guid,System.Guid)
    Remove the classification.
    Parameters:
    • knot: The knot of the classification.
    • category: The category of the classification.
  • RemoveByKnot(System.Guid)
    Remove the classification by knot.
    Parameters:
    • knot: The knot of the classification.
  • RemoveByCategory(System.Guid)
    Remove the classification by category.
    Parameters:
    • category: The category of the classification.
  • GetAll()
    Get all the classifications.
    Returns:
    • The Classification entities.
  • GetByKnot(System.Guid)
    Get the classifications by knot.
    Parameters:
    • knot: The knot of the classification.
    Returns:
    • The classification entities.
  • GetByCategory(System.Guid)
    Get the classifications by category.
    Parameters:
    • category: The category of the classification.
    Returns:
    • The classification entities.
Hexsoft.Knots.DataAccess.LineData
Represent the line data access.
Methods:
  • Add(System.Guid,System.Guid,System.Int32)
    Add the line.
    Parameters:
    • id: The id of the object.
    • knot: The knot of the object.
    • material: The material of the line.
  • Set(System.Guid,System.Guid,System.Int32)
    Set the line.
    Parameters:
    • id: The id of the object.
    • knot: The knot of the object.
    • material: The material of the line.
  • Remove(System.Guid)
    Remove the line.
    Parameters:
    • id: The id of the line.
  • RemoveByKnot(System.Guid)
    Remove the line by knot.
    Parameters:
    • knot: The knot of the line.
  • GetById(System.Guid)
    Get the line by id.
    Parameters:
    • id: The id of the line.
    Returns:
    • The line entity.
  • GetAll()
    Get all the lines.
    Returns:
    • The Line entities.
  • GetByKnot(System.Guid)
    Get the lines by knot.
    Parameters:
    • knot: The knot of the line.
    Returns:
    • The line entities.
Hexsoft.Knots.DataAccess.CategoryData
Represent the category data access.
Methods:
  • Add(System.Guid,System.String)
    Add the category.
    Parameters:
    • id: The id of the category.
    • name: The name of the category.
  • Set(System.Guid,System.String)
    Set the category.
    Parameters:
    • id: The id of the category.
    • name: The name of the category.
  • Remove(System.Guid)
    Remove the category.
    Parameters:
    • id: The id of the category.
  • GetById(System.Guid)
    Get the category by id.
    Parameters:
    • id: The id of the category.
    Returns:
    • The category entity.
  • GetAll()
    Get all the categorys.
    Returns:
    • The Category entities.
Hexsoft.Knots.DataAccess.FixtureData
Represent the fixture data access.
Methods:
  • Add(System.Guid,System.Guid,System.Int32)
    Add the fixture.
    Parameters:
    • id: The id of the object.
    • knot: The knot of the object.
    • number: The number of the fixture.
  • Set(System.Guid,System.Guid,System.Int32)
    Set the fixture.
    Parameters:
    • id: The id of the object.
    • knot: The knot of the object.
    • number: The number of the fixture.
  • Remove(System.Guid)
    Remove the fixture.
    Parameters:
    • id: The id of the fixture.
  • RemoveByKnot(System.Guid)
    Remove the fixture by knot.
    Parameters:
    • knot: The knot of the fixture.
  • GetById(System.Guid)
    Get the fixture by id.
    Parameters:
    • id: The id of the fixture.
    Returns:
    • The fixture entity.
  • GetAll()
    Get all the fixtures.
    Returns:
    • The Fixture entities.
  • GetByKnot(System.Guid)
    Get the fixtures by knot.
    Parameters:
    • knot: The knot of the fixture.
    Returns:
    • The fixture entities.
Hexsoft.Knots.DataAccess.ObjectData
Represent the object data access.
Methods:
  • Add(System.Guid,System.Guid)
    Add the object.
    Parameters:
    • id: The id of the object.
    • knot: The knot of the object.
  • Set(System.Guid,System.Guid)
    Set the object.
    Parameters:
    • id: The id of the object.
    • knot: The knot of the object.
  • Remove(System.Guid)
    Remove the object.
    Parameters:
    • id: The id of the object.
  • RemoveByKnot(System.Guid)
    Remove the object by knot.
    Parameters:
    • knot: The knot of the object.
  • GetById(System.Guid)
    Get the object by id.
    Parameters:
    • id: The id of the object.
    Returns:
    • The object entity.
  • GetAll()
    Get all the objects.
    Returns:
    • The Object entities.
  • GetByKnot(System.Guid)
    Get the objects by knot.
    Parameters:
    • knot: The knot of the object.
    Returns:
    • The object entities.

Entity Prototype Description

Hexsoft.Knots.Entity.Object
Represent the object entity.
Properties:
  • Id
    Get or set the id of the object.
  • Knot
    Get or set the knot of the object.
Methods:
  • #ctor(System.Guid,Hexsoft.Knots.Entity.Knot)
    Initialize the object entity.
    Parameters:
    • id: The id of the object.
    • knot: The knot of the object.
Hexsoft.Knots.Entity.User
Represent the user entity.
Properties:
  • Id
    Get or set the id of the user.
  • Name
    Get or set the name of the user.
  • Email
    Get or set the email of the user.
  • Password
    Get or set the password of the user.
Methods:
  • #ctor(System.Guid,System.String,System.String,System.String)
    Initialize the user entity.
    Parameters:
    • id: The id of the user.
    • name: The name of the user.
    • email: The email of the user.
    • password: The password of the user.
Hexsoft.Knots.Entity.Step
Represent the step entity.
Properties:
  • Id
    Get or set the id of the step.
  • Type
    Get or set the type of the step.
  • Description
    Get or set the description of the step.
  • Knot
    Get or set the knot of the step.
Methods:
  • #ctor(System.Guid,System.String,System.String,Hexsoft.Knots.Entity.Knot)
    Initialize the step entity.
    Parameters:
    • id: The id of the step.
    • type: The type of the step.
    • description: The description of the step.
    • knot: The knot of the step.
Hexsoft.Knots.Entity.Category
Represent the category entity.
Properties:
  • Id
    Get or set the id of the category.
  • Name
    Get or set the name of the category.
Methods:
  • #ctor(System.Guid,System.String)
    Initialize the category entity.
    Parameters:
    • id: The id of the category.
    • name: The name of the category.
Hexsoft.Knots.Entity.Knot
Represent the knot entity.
Properties:
  • Id
    Get or set the id of the knot.
  • Name
    Get or set the name of the knot.
  • Description
    Get or set the description of the knot.
  • User
    Get or set the user of the knot.
Methods:
  • #ctor(System.Guid,System.String,System.String,Hexsoft.Knots.Entity.User)
    Initialize the knot entity.
    Parameters:
    • id: The id of the knot.
    • name: The name of the knot.
    • description: The description of the knot.
    • user: The user of the knot.
Hexsoft.Knots.Entity.Fixture
Represent the fixture entity.
Properties:
  • Number
    Get or set the number of the fixture.
Methods:
  • #ctor(System.Guid,Hexsoft.Knots.Entity.Knot,System.Int32)
    Initialize the fixture entity.
    Parameters:
    • id: The id of the object.
    • knot: The knot of the object.
    • number: The number of the fixture.
Hexsoft.Knots.Entity.Line
Represent the line entity.
Properties:
  • Material
    Get or set the material of the line.
Methods:
  • #ctor(System.Guid,Hexsoft.Knots.Entity.Knot,System.Int32)
    Initialize the line entity.
    Parameters:
    • id: The id of the object.
    • knot: The knot of the object.
    • material: The material of the line.
Hexsoft.Knots.Entity.Point
Represent the point entity.
Properties:
  • Id
    Get or set the id of the point.
  • Line
    Get or set the line of the point.
  • X
    Get or set the x of the point.
  • Y
    Get or set the y of the point.
  • Z
    Get or set the z of the point.
Methods:
  • #ctor(System.Guid,System.Int32,System.Int32,System.Int32,System.Int32)
    Initialize the point entity.
    Parameters:
    • id: The id of the point.
    • line: The line of the point.
    • x: The x of the point.
    • y: The y of the point.
    • z: The z of the point.
Hexsoft.Knots.Entity.Classification
Represent the classification entity.
Properties:
  • Knot
    Get or set the knot of the classification.
  • Category
    Get or set the category of the classification.
Methods:
  • #ctor(Hexsoft.Knots.Entity.Knot,Hexsoft.Knots.Entity.Category)
    Initialize the classification entity.
    Parameters:
    • knot: The knot of the classification.
    • category: The category of the classification.

General User Case

Editor User Case

Entity Definition Persisent with ER Diagram

Business Logic Prototypes

ER Diagram