I have a DataType (text, numeric, date, boolean, money) enum and I need to put that in a file. How should I call the file and where in my DataAccessLayer.Generic namespace should I put the file into? Right now the file is called enum.vb and is in the DataAccessLayer.Generic.DataTypes namespace. The Result is DataAccessLayer.Generic.DataTypes.DataType, but it is misleading because the file is called enum.vb
Thanks
I would call the file
DataType.vbsince that is the name of the type within the file.Without knowing more about your application’s architecture it would be difficult to give namespace advice but this should be fine:
Especially if the
DataAccessLayer.Generic.DataTypesnamespace contains other types and the enumeration in question belongs with them.