task

[ CLASS App_Code/Member.cs ]

[WHAT]

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

[WHY]

  1. [Using]
  2. [Properties]
    1. ] int id_member
    2. ] string name_member
    3. ] string description_member
    4. ] int parent_id
    5. ] private const string qryGetMembers
    6. ] private const string qryGetMembersInCommunity
    7. ] private const string qryGetMembersInCommunityNamed
    8. ] private const string qryGetMember
    9. ] private const string qryAddMember
    10. ] private const string qryDeleteMember
    11. ] private const string qryUpdateMember
  3. [Constructors]
    1. ] Member()
    2. ] Member(int id)
    3. ] Member(string name, string description, int parent_id)
  4. [Methods]
    1. ] public static IEnumerable<Member>GetMembers() 
    2. ] public static IEnumerable<Member>GetMembersInCommunity(int id_community)
    3. ] public static IEnumerable<Member>GetMembersInCommunity(string community_name) 
    4. ] public static IEnumerable<Member>GetMembersInCommunity(string src_db,int id_community) *] added close db
    5. ] public void add()
    6. ] public static void add(string name, string description, int parent_id)
    7. ] public void delete() 
    8. ] public static void delete(int id) 
    9. ] public void edit()
    10. ] public void edit(string name, string description, int parent_id ) 
    11. ] public static void edit(string name, string description, int parent_id, int id_member ) 
    12. ]  public static int getMaxId()
    13. ] public static void import(string src_db,string dest_db,int srcMemberId, int destCommunityId)

[WHERE]

  1. [ called from] 
    1. ] view members -
    2. ] view member -
    3. ] edit member -
    4. ] add member - 

[WHEN]

  1. ]

[EXAMPLE]

[HOW-TO]

  1. ]

[REFERENCE]

  1. ] CLASS Book.cs

developer implementation

[.process]

  1.  

[.notes]

  1.  

[.by_date]

  1. [YYYY-mm-DD]

status 

[previously]

  1. [2017-05-03][00:00] NEW task
    1. x] # 7293 - CREATE-PAGE# # - Member.cs
    2. *] SRC = Book.cs
  2. [2017-05-03][00:00] NEW task
    1. x] # # - FIX-PRB-7140 - adding explicit db.close.connection, db.close statements to methods that open connections, call db

[currently]

[next]

  1. ]
Details Photos Edit more

Details

ID: 7293

NAME: CLASS-Member

DESCRIPTION: CLASS Member - (based on Book),

START DATE TIME: 2017-05-03 11:00:00

EST DURATION: 03:00:00

END DATE TIME: 2017-05-03 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