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