public FunctionTableColumn( eFunctionType functionType, string name = null, string tableName = null) : base(name, tableName) { this.functionType = functionType; this.fullyQualifiedName = buildFullyQualifiedName(); }
/// <summary> /// This function retrieves the function type for the specified function. /// </summary> /// <param name="name">The name of an existing function.</param> /// <param name="functionType">This is the main type of function.</param> /// <param name="functionSubType">This is the function subtype, which is dependent upond the function type. /// See enumerations for code definitions.</param> /// <exception cref="CSiException"></exception> public void GetType(string name, ref eFunctionType functionType, ref int functionSubType) { int csiFunctionType = 0; _callCode = _sapModel.Func.GetTypeOAPI(name, ref csiFunctionType, ref functionSubType); if (throwCurrentApiException(_callCode)) { throw new CSiException(); } functionType = (eFunctionType)csiFunctionType; }
/// <summary> /// returns the string representation of <paramref name="functionType"/>. /// </summary> /// <remarks> /// conversion is as follows: /// functionType => functionType.ToString().ToSnakeCase().ToUpper() /// </remarks> /// <param name="functionType"></param> /// <returns> /// string representation of <paramref name="functionType"/> /// </returns> public static string FunctionTypeToString(eFunctionType functionType) { string functiontypeString = functionType.ToString(); return(StringUtils.PascalCaseToSnakeCase(functiontypeString).ToUpper()); }
public void GetType(string name, ref eFunctionType functionType, ref int functionSubType) { }