Answer the question
In order to leave comments, you need to log in
How long will it take to create a database in C# and WPF without SQL?
I'm more or less fluent in C#. I haven't learned WPF yet, but I plan to.
It is necessary to write a database in 4 months, it is forbidden to use SQL.
Tell me how much it will take approximately and can it be done in 1-2 months?
Answer the question
In order to leave comments, you need to log in
Firstly, it depends on the task: you can "write a database" in 5 minutes, but it can take years to write a multi-user relational DBMS. Secondly, it depends on the level of professionalism of the performer: what one needs minutes for, for another, it may be completely unbearable.
A couple of minutes. For example:
public class MyDB
{
public List<Message> Messages = new List<Message>();
public List<User> Users = new List<User>();
}
public class Message
{
public DateTime Time = new DateTime();
public string Text;
public ulong UserID;
public Message(ulong userId, string text)
{
Text = text;
UserID = userId;
}
}
public class User
{
private static ulong Cnt = 0;
public ulong Id;
public string Name;
public User(string name)
{
Name = name;
Id = ++Cnt;
}
}
Once upon a time, even before WFP, using ordinary Windows Forms and Dataset classes, I wrote a complex cache layer for a database, dozens of tables. It was about 'clicking lazily with the mouse', the entire database is in memory, saving with a regular serializer (in the same xml - two lines of code), hundreds of megabytes, worked at an acceptable speed.
ps It is said that without sql? take any ready-made nosql database;) for example redis
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question