Exemplo n.º 1
0
 public static int GetProjectByBlockTypeInstance(int blockTypeInstanceId)
 {
     TimeTrackingBlockTypeInstance inst = new TimeTrackingBlockTypeInstance(blockTypeInstanceId);
     if (inst.ProjectId.HasValue)
         return inst.ProjectId.Value;
     return -1;
 }
Exemplo n.º 2
0
 public TimeTrackingBlockTypeInstance(CustomTableRow row)
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), row)
 {
 }
Exemplo n.º 3
0
 public TimeTrackingBlockTypeInstance(CustomTableRow row, MetaObjectOptions options)
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), row, options)
 {
 }
Exemplo n.º 4
0
 public TimeTrackingBlockTypeInstance(PrimaryKeyId primaryKeyId)
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), primaryKeyId)
 {
 }
Exemplo n.º 5
0
 public TimeTrackingBlockTypeInstance(PrimaryKeyId primaryKeyId, MetaObjectOptions options)
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), primaryKeyId, options)
 {
 }
Exemplo n.º 6
0
 public TimeTrackingBlockTypeInstance()
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass())
 {
 }
Exemplo n.º 7
0
 public TimeTrackingBlockTypeInstance(MetaObjectOptions options)
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), options)
 {
 }
Exemplo n.º 8
0
 public static int GetTotalCount(params FilterElement[] filters)
 {
     return(MetaObject.GetTotalCount(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), filters));
 }
Exemplo n.º 9
0
 public static TimeTrackingBlockTypeInstance[] List(Mediachase.Ibn.Data.FilterElementCollection filters, Mediachase.Ibn.Data.SortingElementCollection sorting, int start, int count)
 {
     return(MetaObject.List <TimeTrackingBlockTypeInstance>(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), filters, sorting, start, count));
 }
Exemplo n.º 10
0
 public static TimeTrackingBlockTypeInstance[] List(params Mediachase.Ibn.Data.SortingElement[] sorting)
 {
     return(MetaObject.List <TimeTrackingBlockTypeInstance>(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), sorting));
 }
Exemplo n.º 11
0
 public static TimeTrackingBlockTypeInstance[] List(params Mediachase.Ibn.Data.FilterElement[] filters)
 {
     return(MetaObject.List <TimeTrackingBlockTypeInstance>(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), filters));
 }
Exemplo n.º 12
0
 public static TimeTrackingBlockTypeInstance[] List()
 {
     return(MetaObject.List <TimeTrackingBlockTypeInstance>(TimeTrackingBlockTypeInstance.GetAssignedMetaClass()));
 }