예제 #1
0
 public static int GetProjectByBlockTypeInstance(int blockTypeInstanceId)
 {
     TimeTrackingBlockTypeInstance inst = new TimeTrackingBlockTypeInstance(blockTypeInstanceId);
     if (inst.ProjectId.HasValue)
         return inst.ProjectId.Value;
     return -1;
 }
예제 #2
0
 public TimeTrackingBlockTypeInstance(CustomTableRow row)
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), row)
 {
 }
예제 #3
0
 public TimeTrackingBlockTypeInstance(CustomTableRow row, MetaObjectOptions options)
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), row, options)
 {
 }
예제 #4
0
 public TimeTrackingBlockTypeInstance(PrimaryKeyId primaryKeyId)
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), primaryKeyId)
 {
 }
예제 #5
0
 public TimeTrackingBlockTypeInstance(PrimaryKeyId primaryKeyId, MetaObjectOptions options)
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), primaryKeyId, options)
 {
 }
예제 #6
0
 public TimeTrackingBlockTypeInstance()
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass())
 {
 }
예제 #7
0
 public TimeTrackingBlockTypeInstance(MetaObjectOptions options)
     : base(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), options)
 {
 }
예제 #8
0
 public static int GetTotalCount(params FilterElement[] filters)
 {
     return(MetaObject.GetTotalCount(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), filters));
 }
예제 #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));
 }
예제 #10
0
 public static TimeTrackingBlockTypeInstance[] List(params Mediachase.Ibn.Data.SortingElement[] sorting)
 {
     return(MetaObject.List <TimeTrackingBlockTypeInstance>(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), sorting));
 }
예제 #11
0
 public static TimeTrackingBlockTypeInstance[] List(params Mediachase.Ibn.Data.FilterElement[] filters)
 {
     return(MetaObject.List <TimeTrackingBlockTypeInstance>(TimeTrackingBlockTypeInstance.GetAssignedMetaClass(), filters));
 }
예제 #12
0
 public static TimeTrackingBlockTypeInstance[] List()
 {
     return(MetaObject.List <TimeTrackingBlockTypeInstance>(TimeTrackingBlockTypeInstance.GetAssignedMetaClass()));
 }