task

[ Atlas.cs ]

[what]

  1. ] WHAT = Class for managing Atlases
  2. ] ARGS = [id,]
  3. ]  

[why]

  1. [USING]
    1. ] System - console & ... 
    2. ] System.Collections - for ArrayList, 
    3. ] System.Collections.Generic - for ieNumerable, used by ...
    4. ] System Dynamic - for Dynamic types, used by .
    5. ] System.Web - for httpContext, used by ... to access Session var ( get current_db)
    6. ] WebMatrix.Data - for Database methods, used by ... ] all
    7. ] WebMatrix.Data.StronglyTyped - for data library ST that converts dynamics to ST objects
  2. [PROPERTIES]
    1. ] id_atlas 
    2. ] name_atlas - 
    3. ] description_atlas -   
    4. ] database  
    5. ] qryGetAtlases 
    6. ] qryAddAtlas 
    7. ] qryDeleteAtlas  
    8. ] qryUpdateAtlas    
    9. [+++] 
    10. ] count - non-persistent -
    11. ] lastIn - 
    12. [objects]
    13. ]
  3. [PROPERTIES.objects]
    1. ]
  4. [CONSTRUCTORS]
    1. ] Atlas() - default, empty 
    2. ] Atlas(int id) - takes id of existing atlas, instantiates this.atlas with properties of existing atlas 
    3. ] Atlas(string name, string description)- takes name and description args of atlas to create a new atlas 
    4. ] Atlas(string name) - instantiates a new instance of atlas object - based on lookup of existing atlas  
    5. +++
    6. ] Atlas(int id,string name, ...) - instantiates a new instance of Calendar object
    7. OR
    8. ] +++
    9. ]
  5. [METHODS-]
    1. ] GetAtlases()
      1. - returns all of the Atlas
    2. >] ListAll() -
    3. >] ByID
    4. ] add () -
    5. ] add (name,description)
      1. - where=? 
    6. ] delete()
      1. - deletes the current instance of Atlas object 
    7. ] delete(id)
      1. - STATIC 
    8. ] edit()
      1. - delete 
    9. ] edit(name,description)
      1. - //?=where
  6. [METHODS-STATIC]
    1. ]
  7. [METHODS-OTHER]
    1. ] getMaxId()
      1. ] returns the id of the last record inserted into the

 

[where]

  1. ] LOCATION = App_Code/Atlas.cs
  2. ] view/atlases
  3. ] add/atlas
  4. ] edit/atlas
  5. ] delete/atlas

[when]

  1. ]

[example]

  1. ]

[how-to]

  1. ]

[reference]

  1. ] 2012-06-14 - Atlas.cs - NEW FILE REF # 

developer implementation

[-process]

  1.  

[-notes]

  1.  

status

[-previous-]

  1.  ]

[-current-]

  1.  ]

[-next-]

  1. ]

 

 


 

  
 
+ CLASSEs
//---------------------------------------------------------------------------------------------------------------------------//
    ] atlas - 
    
2] PROPERTIES - class 
//---------------------------------------------------------------------------------------------------------------------------//
 
3] CONSTRUCTORS -
//---------------------------------------------------------------------------------------------------------------------------//
   
 
4] METHODS - // CRUD, // [STATIC], 
//---------------------------------------------------------------------------------------------------------------------------//
        2] edit ()
       [STATIC]
       ] setItemsStatus(status, ids) - sets all items to the given status
       ] setItemsName(name, ids) - sets all user selected items "names" to the given name
       ] setItemsDescription(description, ids) - sets all user selected items "descriptions" to the given description
       ] setItemsCOGS(cogs, ids) - sets all user selected items "cogs" to the given value
       ] setItemsQuantity(quantity, ids) - sets all user selected items "quantity" to the given value
        ] setItemsUnit(unit, ids) - sets all user selected items "unit" to the give value

 

 

Details Photos Edit more

Details

ID: 5472

NAME: CLASS-Atlas

DESCRIPTION: Atlas - properties, constructors and methods for this class

START DATE TIME: 2015-08-13 13:04:14

EST DURATION: 01:00:00

END DATE TIME: 2015-08-13 14:04:14

STATUS: Completed

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities