task

[ CLASS App_Code/Book.cs ]

[WHAT]

  1. [ def ] class to work with Book objects
  2. [ args ] none  

[WHY]

  1. [using]
    1. ] using System;
    2. ] using System.Collections;
    3. ] using System.Collections.Generic;
    4. ] using System.Dynamic; 
    5. ] // using System.Linq;
    6. ] // using System.Data.Linq;
    7. ] using System.Web; 
    8. ] using WebMatrix.Data;
    9. ] using WebMatrix.Data.StronglyTyped;
  2. [Properties]
    1. ] int id_book
    2. ] string name_book
    3. ] string description_book
    4. ] int parent_id
    5. ] private const string qryGetBooks
    6. ] private const string qryGetBooksInLibrary
    7. ] private const string qryGetBooksInLibraryNamed
    8. ] private const string qryGetBook
    9. ] private const string qryAddBook
    10. ] private const string qryDeleteBook
    11. ] private const string qryUpdateBook
  3. [Constructors]
    1. ] public Book()
    2. ] public Book(id)
    3. ] public Book(string name, string description, int parent_id)
  4. [Methods]
    1. add()
    2. static add(args[])
    3. edit() 
    4. static edit(args[])
    5. delete()
    6. static delete(id)
    7. getMax()
    8. import()

[WHERE]

  1. [ called from] 
    1. ] view books -
    2. ] view book -
    3. ] edit book -
    4. ] add book - 

[WHEN]

  1. ]

[EXAMPLE]

[HOW-TO]

  1. ]

[REFERENCE]

  1. ] CLASS Inventory.cs

developer implementation

[.process]

  1.  

[.notes]

  1.  

[.by_date]

  1. [YYYY-mm-DD]

status 

[previously]

  1. [2013-05-26] NEW task IN 
    1. ] # # -  CREATE new class, 
    2. x] used Inventory.cs as template
    3. x] REPLACING the LibraryData methods class  
  2. [2013-05-27][] NEW task IN
    1.  Validation - w3c
    2. x] PAGE view/libraries - generated by class
  3. [2017-04-10][00:00] NEW task
    1. x] # # - FIX-PRB-7140 - adding explicit db.close.connection, db.close statements to methods that open connections, call db
  4. [2017-05-03] NEW task
    1. x] # # - 

[currently]

[next]

  1. ]
Details Photos Edit more

Details

ID: 1726

NAME: CLASS-Book

DESCRIPTION: CLASS Book - (.cs based on Inventory, doc based on ...)

START DATE TIME: 2013-05-26 11:00:00

EST DURATION: 03:00:00

END DATE TIME: 2013-05-26 14:00:00

STATUS: Completed

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities