} // getFieldTypeValueForNodeTypePropId() public CswEnumNbtFieldType getFieldTypeValueForObjectClassPropId( Int32 ObjectClassPropId ) { CswEnumNbtFieldType FieldType = CswNbtResources.UnknownEnum; if( ObjectClassPropId != Int32.MinValue ) { string FieldTypeStr = _CollImpl.getNameWhereFirst( "where fieldtypeid = (select fieldtypeid from object_class_props where objectclasspropid = " + ObjectClassPropId.ToString() + ")" ); FieldType = FieldTypeStr; } return FieldType; } // getFieldTypeValueForObjectClassPropId()
public CswEnumNbtFieldType getFieldTypeValueForNodeTypePropId( Int32 NodeTypePropId ) { CswEnumNbtFieldType FieldType = CswNbtResources.UnknownEnum; if( NodeTypePropId != Int32.MinValue ) { string FieldTypeStr = _CollImpl.getNameWhereFirst( "where fieldtypeid = (select fieldtypeid from nodetype_props where nodetypepropid = " + NodeTypePropId.ToString() + ")" ); FieldType = FieldTypeStr; } return FieldType; } // getFieldTypeValueForNodeTypePropId()
public IEnumerable<CswNbtMetaDataObjectClassProp> getObjectClassPropsByFieldType( CswEnumNbtFieldType FieldType ) { return _CollImpl.getWhere( "where fieldtypeid in (select fieldtypeid from field_types where fieldtype = '" + FieldType.ToString() + "')" ).Cast<CswNbtMetaDataObjectClassProp>(); }
public IEnumerable<CswNbtMetaDataObjectClassProp> getObjectClassPropsByPropertySetId( Int32 PropertySetId, CswEnumNbtFieldType FieldType ) { return _CollImpl.getWhere( "where objectclasspropid in (select objectclasspropid from jct_propertyset_ocprop where propertysetid = " + PropertySetId + ")" + " and fieldtypeid in (select fieldtypeid from field_types where fieldtype = '" + FieldType.ToString() + "')" ).Cast<CswNbtMetaDataObjectClassProp>(); }
public IEnumerable <CswNbtMetaDataNodeTypeProp> getNodeTypeProps(CswEnumNbtFieldType FieldType) { return(_CswNbtMetaDataResources.CswNbtMetaData.getNodeTypeProps(NodeTypeId, FieldType, _Date)); }
public IEnumerable <CswNbtMetaDataObjectClassProp> getObjectClassProps(CswEnumNbtFieldType FieldType) { return(_CswNbtMetaDataResources.ObjectClassPropsCollection.getObjectClassPropsByObjectClass(ObjectClassId, FieldType)); }
public CswNbtMetaDataFieldType getFieldType( CswEnumNbtFieldType FieldType ) { return (CswNbtMetaDataFieldType) _CollImpl.getWhereFirst( "where lower(fieldtype)='" + FieldType.ToString().ToLower() + "'" ); }
public IEnumerable<CswNbtMetaDataNodeTypeProp> getNodeTypeProps( Int32 NodeTypeId, CswEnumNbtFieldType FieldType, CswDateTime Date = null ) { return _CollImpl.getWhere( "where nodetypeid = " + NodeTypeId.ToString() + " and fieldtypeid in (select fieldtypeid from field_types where fieldtype = '" + FieldType.ToString() + "')", Date ).Cast<CswNbtMetaDataNodeTypeProp>(); }
public ICswNbtFieldTypeRule makeFieldTypeRule(CswEnumNbtFieldType FieldType) { return(CswNbtFieldTypeRuleFactory.makeRule(CswNbtFieldResources, FieldType)); }