دقیقا
واقعا توجیه نشدم با صرف خفن بودن..
دلیل اقتصادی هم توجیه خوبی نیست..
26 Noy, 13:32
کدکاپ گردهمایی حضوری برنامهنویسان ، توسعه دهندگان و تمامی علاقه مندان دانش در مشهد است برای دوستی، همفکری، یادگیری و همکاری https://t.me/codecupies/971
Ko'proq ko'rsatish
private static int GetInt(object item, string name)
{
object value = GetProperty(item, name);
return value == null ? 0 : Convert.ToInt32(value);
}
private static decimal GetDecimal(object item, string name)
{
object value = GetProperty(item, name);
return value == null ? 0m : Convert.ToDecimal(value);
}
private static string GetString(object item, string name)
{
object value = GetProperty(item, name);
return value == null ? string.Empty : Convert.ToString(value);
}
private static bool GetBool(object item, string name)
{
object value = GetProperty(item, name);
return value != null && Convert.ToBoolean(value);
}
}
public class ExternalRateOptionDto
{
public int RateId { get; set; }
public string Code { get; set; }
public string Name { get; set; }
public string Category { get; set; }
public string Unit { get; set; }
public bool IsActive { get; set; }
public decimal BuyPrice { get; set; }
public decimal SellPrice { get; set; }
}
}
همین نشون میده تفاوت چیه در آینده برای توسعه کدام یکی بهتر قابل توسعه است و هزینه پردازش و نکهداری کدام بهتره
Ko'rish tajribangizni yaxshilash uchun cookie fayllaridan foydalanamiz.
«Hammasini qabul qilish» tugmasini bosib, siz cookie fayllaridan foydalanish siyosatiga rozilik bildirasiz.