MH: Debugginginfos für Entities
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
using BS.Shared;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{Type}: {Value}")]
|
||||
public class Contact : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_Type = "Type";
|
||||
|
||||
@@ -4,9 +4,11 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
using BS.Shared;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{EntryDate} {WeeklyDays} Tage {WeeklyTotalHours}h")]
|
||||
public class Contract : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_ProbationPeriod = "ProbationPeriod";
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
||||
using BS.Shared;
|
||||
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{CostRateType} {CostRateValue}")]
|
||||
public class CostRatePeriod : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_CostRateType = "CostRateType";
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{Person}")]
|
||||
public class Customer : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_AbsenceTimes = "AbsenceTimes";
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{Person}")]
|
||||
|
||||
public class Employee : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_AbsenceTimes = "AbsenceTimes";
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{ItemDescription}: {AmountPerUnit} x {UnitCount} = {AmountTotal}")]
|
||||
public class InvoiceItem : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_AmountPerUnit = "AmountPerUnit";
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{Name}")]
|
||||
public class Organisation : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_Address = "Address";
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{FirstNameLastName}")]
|
||||
public class Person : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_Abbreviation = "Abbreviation";
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{StartDate}: {DisplayName}")]
|
||||
public class Rating : BeWoEntityBase
|
||||
{
|
||||
private IList<GoalRating> _GoalRatingList;
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{DisplayName}")]
|
||||
public class RatingType : BeWoEntityBase
|
||||
{
|
||||
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{Name} ({ProzentAbrechnung}/{ProzentBudget}/{ProzentStundenkonto})")]
|
||||
public class ServiceCategory : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_Abbreviation = "Abbreviation";
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{Name} ({ProzentAbrechnung}/{ProzentBudget}/{ProzentStundenkonto})")]
|
||||
public class ServiceDescription : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_Abbreviation = "Abbreviation";
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{Customer} {Start}-{End}")]
|
||||
|
||||
public class ServiceInvoicePeriod : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_ApprovedAmountDefaultHourlyRate = "ApprovedAmountDefaultHourlyRate";
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{Customer.Person.LastNameFirstName} {Start}-{End} ({RoundedDuration}min)")]
|
||||
public class ServiceRecord : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_CostBearer2SupportConcept = "CostBearer2SupportConcept";
|
||||
@@ -786,5 +788,10 @@ namespace BeWo.Data.Entities
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//public override string ToString()
|
||||
//{
|
||||
// return string.Format("{0}", Customer.Person.LastNameFirstName);
|
||||
//}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{Customer} {StartDate}-{EndDate}")]
|
||||
public class SupportConcept : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_ApprovalDate = "ApprovalDate";
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
[DebuggerDisplay("{StartDate}-{EndDate} {ApprovedBEPerInterval}/{ApprovedBETotal}")]
|
||||
public class SupportConceptApprovalPeriod : BeWoEntityBase
|
||||
{
|
||||
public static string PropertyName_ApprovedBEInterval = "ApprovedBEInterval";
|
||||
|
||||
Reference in New Issue
Block a user