Consolidated ASP Classic MVC framework from best components
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

134 lines
3.5KB

  1. <%
  2. ' Auto-generated POBO for table [HouseholderNames]
  3. ' Generated on 1/17/2026 7:59:02 PM
  4. ' Generator: GenerateRepo.vbs v1.0
  5. '
  6. ' Dependencies: core/helpers.asp (QuoteValue function)
  7. Class POBO_HouseholderNames
  8. ' Public array of all property names
  9. Public Properties
  10. Private pCreated
  11. Private pHouseholdId
  12. Private pId
  13. Private pLetterReturned
  14. Private pName
  15. Private pReturnDate
  16. Private Sub Class_Initialize()
  17. pCreated = #1/1/1970#
  18. pHouseholdId = 0
  19. pId = 0
  20. pLetterReturned = 0
  21. pName = Null
  22. pReturnDate = #1/1/1970#
  23. Properties = Array("Created","HouseholdId","Id","LetterReturned","Name","ReturnDate")
  24. End Sub
  25. Public Property Get PrimaryKey()
  26. PrimaryKey = "Id"
  27. End Property
  28. Public Property Get TableName()
  29. TableName = "HouseholderNames"
  30. End Property
  31. Public Property Get Created()
  32. Created = pCreated
  33. End Property
  34. Public Property Let Created(val)
  35. On Error Resume Next
  36. pCreated = CDate(val)
  37. If Err.Number <> 0 Then
  38. Err.Raise Err.Number, "POBO_HouseholderNames.Created", "Invalid value for Created: " & Err.Description
  39. End If
  40. On Error GoTo 0
  41. End Property
  42. Public Property Get HouseholdId()
  43. HouseholdId = pHouseholdId
  44. End Property
  45. Public Property Let HouseholdId(val)
  46. On Error Resume Next
  47. If IsNumeric(val) Then
  48. pHouseholdId = CDbl(val)
  49. Else
  50. pHouseholdId = val
  51. End If
  52. If Err.Number <> 0 Then
  53. Err.Raise Err.Number, "POBO_HouseholderNames.HouseholdId", "Invalid value for HouseholdId: " & Err.Description
  54. End If
  55. On Error GoTo 0
  56. End Property
  57. Public Property Get Id()
  58. Id = pId
  59. End Property
  60. Public Property Let Id(val)
  61. On Error Resume Next
  62. If IsNumeric(val) Then
  63. pId = CDbl(val)
  64. Else
  65. pId = val
  66. End If
  67. If Err.Number <> 0 Then
  68. Err.Raise Err.Number, "POBO_HouseholderNames.Id", "Invalid value for Id: " & Err.Description
  69. End If
  70. On Error GoTo 0
  71. End Property
  72. Public Property Get LetterReturned()
  73. LetterReturned = pLetterReturned
  74. End Property
  75. Public Property Let LetterReturned(val)
  76. On Error Resume Next
  77. If IsNumeric(val) Then
  78. pLetterReturned = CDbl(val)
  79. Else
  80. pLetterReturned = val
  81. End If
  82. If Err.Number <> 0 Then
  83. Err.Raise Err.Number, "POBO_HouseholderNames.LetterReturned", "Invalid value for LetterReturned: " & Err.Description
  84. End If
  85. On Error GoTo 0
  86. End Property
  87. Public Property Get Name()
  88. Name = pName
  89. End Property
  90. Public Property Let Name(val)
  91. On Error Resume Next
  92. If IsNumeric(val) Then
  93. pName = CDbl(val)
  94. Else
  95. pName = val
  96. End If
  97. If Err.Number <> 0 Then
  98. Err.Raise Err.Number, "POBO_HouseholderNames.Name", "Invalid value for Name: " & Err.Description
  99. End If
  100. On Error GoTo 0
  101. End Property
  102. Public Property Get ReturnDate()
  103. ReturnDate = pReturnDate
  104. End Property
  105. Public Property Let ReturnDate(val)
  106. On Error Resume Next
  107. pReturnDate = CDate(val)
  108. If Err.Number <> 0 Then
  109. Err.Raise Err.Number, "POBO_HouseholderNames.ReturnDate", "Invalid value for ReturnDate: " & Err.Description
  110. End If
  111. On Error GoTo 0
  112. End Property
  113. End Class
  114. %>

Powered by TurnKey Linux.